Project Name: javascript-backend

This project creates a javascript and nodejs backend

Libraries used:

  • bcrypt: used to hash passwords
  • cloudinary: cloudinary node SDK used to optimize, transform, upload and manage your cloud's assets on cloudinary.
  • cookie-parser: parse cookie header and populate req.cookies
  • cors: provides express middleware that is used to enable CORS with various options
  • dotenv: loads environment variables from .env file to process.env
  • express: web framework for nodejs
  • jsonwebtoken: implementation of json web tokens for authentication
  • mongoose: MongoDB object modeling tool
  • mongoose-aggregate-paginate-v2: to create mongoDB aggregation pipelines
  • multer: node.js middleware for handling multipart/form-data, primarily used for uploading files.

FUNCTIONALITIES

  1. Register User
  2. Login User
  3. Logout User
  4. Update User details
  5. Change password
  6. Update avatar image
  7. Update cover image
  8. Refresh Access token
  9. Get current user
  10. Get User Profile

Data Modelling

Data Modelling Diagram!

API Documentation

Link: not available

Live Demo

click here