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:
Once the API server boots up, you should see output that looks like this:
{^_^}/ hi!
Loading db.json
Done
Resources
http://localhost:1337/users
http://localhost:1337/tweets
Home
http://localhost:1337
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.