- Contacts
- [✓] /contacts - GET all contacts
- [✓] /contacts/:id - GET one contact by id
- [✓] /contacts - POST - add new contact (name, email, phone)
- [✓] /contacts/:id - PUT - update information about contact
- [✓] /contacts/:id/favorite" - PATCH - add contact to favorites
- [✓] /contacts/:id - DELETE contact
- Authentication
- [✓] /users/signup - POST - Signup - registration (name, email, phone, avatar)
- [✓] /users/login - POST - Login
- [✓] /users/current - GET - Current
- [✓] /users/logout - GET - Signout
- [✓] /users/avatar - PATCH - Adding an avatar to an existing profile
- Verification
- [✓] SendGrid
pawelpalasinski / nodejs-homework-rest-api Goto Github PK
View Code? Open in Web Editor NEWThis project forked from goitacademy/nodejs-homework-template
REST API - MongoDB (mongoose)