- Created web server on express and layers morgan and cors.
- Started configuring routing to work with a collection of contacts (used HTTP methods GET/POST/PUT/PUTCH/DELETE).
- Used the Joi package to validate data.
- Created a database with collection "contacts" and routers.
- In the functions of processing requests, replaced the code of CRUD operations on contacts from a file with Mongoose methods for working with a collection of contacts in the database.
- Created endpoint /register, /login, /logout, /current.
- Used the bcryptjs package to salt passwords.
- Added the ability to download/change the user's avatar.
- Added verification of the user's email after registration.
- Added sending an email to the user with a link for verification.
- Added resending an email to the user with a link for verification.
- Wrote a dockerfile for the application.