Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 936 Bytes

readme.md

File metadata and controls

27 lines (17 loc) · 936 Bytes

Models Link -https://app.eraser.io/workspace/YtPqZ1VogxGy1jzIDkzj

Tech Stack- MongoDB with mongoose ,express js and node js

CONTROLLERS and Routes along with Response and Error are written in Production Style in a dedicated manner

List of controllers

  • Dashboard
  • comments
  • likes
  • videos
  • user
  • healthcheck
  • tweets
    Main features
  • 1.Authorization is done with a custom middleware using cookies by implementing the concepts of access and refresh tokens with the help of JWT .
  • 2.Pagination is done with a js library package Aggregate Paginate
  • 3.Aggregation pipelines are used to fetch data from database where cross model data are required with sub pipelines also written for proper data fetching.
  • 4.We have also encrypted the passwords and refresh token using library called BCRYPTJS before saving it in the database to prevent password leaking in case of database leaking.