Skip to content

wassef911/restAPI-Mongoose

Repository files navigation

restAPI-Mongoose


npm run test

  • to run test suites for both routers.[ JEST , SuperTest]

This repository contains :

  • MongoDB database with two models [User , Task].

  • RestApi preforming CRUD on data powered by [ Express , Mongoose ].

  • Credentials validations with validator .

  • Password hashing with bcryptjs .

  • User authentication middleware using jasonwebtoken .

  • Sending emails to users after creating/deleting accounts.

  • Avatar image upload (png only) with 1mb size stored as binary buffer using multer .

  • Image croping with sharp .

    Swagger UI Admin Dashboard