Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 532 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 532 Bytes

Authentication using passport and JWT

This example shows how to implement authentication using passportJS module and JWT (JSON web token).

This allows to secure Restful endpoints without sessions.

Installation

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