A RESTful API, wherein a user can create an account, upload avatar images and delete the account. Used sendgrid service to send an email from the app on the event of a new user formation & on deletion of the user account. A custom middleware made with Node/Express utilized bcryptjs and jsonwebtoken to hash the user password and issue a token, thereby protecting the GET, POST, PATCH and DELETE routes under authentication. Implemented full CRUD operations by using MongoDB as the database. The npm modules multer and sharp were used for making file uploads, auto-cropping and resizing of images. Postman was used for testing the API endpoints
-
Notifications
You must be signed in to change notification settings - Fork 0
aravali324/REST-API-EXPRESS-NODE-MONGO
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published