/node_api_sec

A secure Node and Express API, including handlers for registration and login, secured endpoints, and test of finalized API.

Primary LanguageJavaScript

Securing RESTful APIs

Project building a secure Node and Express API, including how to add handlers for registration and login, finalize secured endpoints, and test of finalized API.

  • Open Web Application Security Project (OWASP)
  • Reasons for using a JSON Web Token (JWT)
  • Adding bcrypt password hashing
  • Adding handlers for registration and login
  • Finalizing secured endpoints
  • Testing APIs with Postman

[ ] Start Node and Express
[ ] Start mongoDB

Endpoints: / , /contacts , /contact/:contactId, /auth/register , /login

Tech used:

  • JavaScript
  • Node
  • Express
  • MongoDB
  • bcrypt
  • body-parser
  • jsonwebtoken
  • mongoose
  • nodemon
  • VS Code
  • Postman
  • MongoDB Compass