Skip to content

API endpoints with validation. Wrote middlewares to handle user authentication and upload files. JWT for session management.

Notifications You must be signed in to change notification settings

saahil-sutaria/Shop-Auth-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node-Auth-APi

Express Framework, MongoDB NoSQL.

  1. Implemented CORS middleware to enable resource sharing
  2. Authentication middleware to access resources at /POST, /PATCH, /DELETE, and /GET only by a logged in user
  3. Used multer to upload files like png & jpeg - Restricted file type using filter and storage properties
  4. Converted binary image to viewable image
  5. JWT for session management
  6. Encrypted and decoded tokens to verify user - VALIDATION
  7. Multer middleware to log API calls and errors
  8. Hashed password before storing to database

About

API endpoints with validation. Wrote middlewares to handle user authentication and upload files. JWT for session management.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published