1Setting up our development environment and initializing our express server.
2Creating our first basic route and controller.
3Fleshing out our routes and controllers to add users and login users.
4Creating a route and controller that will handle getting all users.
1If the request contains the access token, then the server will verify whether it was issued by the server itself using the stored secret. In case the token is expired or recognized as a one not signed by the server, the jsonwebtoken’s verify method will throw an error. We can handle the error to return a 401 error back to the client.