A basic Authentication API with Json Web Token in express, by Jayharron
- Index.js - API, Routing and Express initialization
- LoginRoute.js - Handles the Login feature
- LogoutRoute.js - Handles the Login feature
- VerifyCookieMiddleware.js - A Routing middleware that will verify if a cookie exists in a request.
// install dependencies
> npm i
// run the app
> npm run start
- JWT
- Express
- NodeJS