Skip to content

Project "MESTO" mini social network - backend part (Express and MongoDB)

Notifications You must be signed in to change notification settings

proactative/express-mesto-gha

Repository files navigation

Project "Mesto" backend

shield shield

Tests

Tests

Technologies and libraries

  • Express
  • MongoDB
  • Mongoose
  • Celebrate/Joi
  • Winston

for development

  • ESLint
  • Nodemon

Main directories

/routes
/controllers
/models
/middlewares
/errors

Routers

API request Router Aim
POST /signin authorization
POST /signup registration
GET /users/me get information about the user
GET /cards get all cards
POST /cards add a card
PUT /cards/:cardId/likes put 'like'
DELETE /cards/:cardId/likes remove 'like'
DELETE /cards/:cardId delete the card
PATCH /users/me update the user`s profile
PATCH /users/me/avatar update the user`s avatar

Start the project

npm run start — start the server
npm run dev — start the server with hot-reload

About

Project "MESTO" mini social network - backend part (Express and MongoDB)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published