Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 651 Bytes

File metadata and controls

20 lines (13 loc) · 651 Bytes

Node.js & Express.js Restful API with JWT (JSON WEB TOKEN) authentication

Implementing restful api with jwt authentication for angular/react.js web app.

Following Packages/Libraries have been included/used:

  1. express.js
  2. mongoose for MongoDB
  3. cors
  4. jsonwebtoken
  5. express-jwt
  6. bcryptjs
  7. express-validation
  8. helmet

Use

Have to edit the config/index.js file to configure database and jwt secret.