Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

Well done!

You have completed REST API Validation with Express!

Instruction

Review the Routes

Our REST API contains two routes (formatted in the following way: HTTP METHOD Route Response HTTP Status Code): GET /api/users 200 - Returns a list of user accounts. POST /api/users 201 - Creates a new user account. Both routes are defined using an Express Router in the routes module ( routes.js). Open the app.js file. The router is imported from the routes module into the app.js file a...