Adding the Endpoints
In this section we would be adding the endpoints of our API. An endpoint is a point from which the API can access the resources from a server.
The endpoint is mentioned in the file app.js/line24.
.png)
You can add more endpoints if you require them.
IMPORTANT: For every endpoint you use you have to define its route. [discussed in next section]
20
