This example shows how to implement authentication using passportJS module and JWT (JSON web token).
This allows to secure Restful endpoints without sessions.
In order to get this example working, execute this command in the commandd line:
npm install
In order to start the server execute this command
npm start
or if you want to restart the server automatically each time you make changes on the code, execute this command
nodemon