May 2018
Intermediate to advanced
470 pages
13h 54m
English
To complete the implementation of the server-side APIs, corresponding routes need to be declared and mounted on the Express app. In a separate file in the server/routes folder, first declare and export the routes for these APIs, assigning the relevant controller functions that should be executed when a specific route is requested. Then, load these new routes on the Express app in the server/express.js file, like the other existing routes in the application.
This will produce a working version of the new backend APIs that can be run and checked from a REST API client application, before going on to build and integrate frontend views for the feature being developed.
Read now
Unlock full access