Creating a route
If we take a look at the home page of the finished app, we can see a list of available prints, which can we'll refer to as "items".
In the coming videos, we'll be creating a endpoint that the client can use to retrieve the data for these items from the API.
On our server we're using the Express framework. You'll see at the top of the server index file that we're creating an instance of Express which we assign to a variable app
.
Click to load comments...