Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Our REST API contains two routes (formatted in the following way: HTTP METHOD Route Response HTTP Status Code):
Response HTTP Status Code
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 `...