Forms: Pattern Construction

WARNING! v0.13 was just released, and the tutorial is currently undergoing final testing. It's recommended that you DO NOT follow along until this message is removed (please check back tomorrow).

Mental model for the forms implementation

Start the Mock API Server

In this step we'll start the mock API server, so that we can create, update and delete data.

Start the Mock API Server

Open a second command line interface, and start the mock server using this command:

$ npm run server

Once the API server boots up, you should see output that looks like this:

{^_^}/ hi!

Loading db.json



The output above tells us that the API server is available at http://localhost:1337 and that we can obtain the list of users from /users and the list of tweets from /tweets.

Next Steps

Next we're going to familiarize ourselves with the application.