This is the final project/diploma for Yandex-Practicum Bootcamp(backend version).
The backend built to registrate and authorized user, update users information, choose a film from other server and add/delete to/from users wall.
The following stack was used during development of the project:
- NodeJs
- Express
- Mongo DB
- Nodemon
- Mongoose
The protection is built up utilizing the following:
- helmet
- cookies
- .env(secret-key)
- express Rate Limit
- SSL(Secure Socket Layer)
Backend locatead at the subdomain. Due to that, the cors settings locatead at the server at the Nginx(default file). Backend setupted to automatic, constant work. In case of server reboat database and other stack will restart automatically.
Startup commands
To start the server
npm run start
or
npm run dev
To start eslint
npm run lint
Prepared by Alexandra Stepanova