MongoDB is added to the project using Mongoose. A simple User model is defined with username, email and password fields, and /login and /signup POST endpoints were added as well as a GET /users endpoint
The entire backend has been dockerized as a multi-container project. The backend container is using volumes to map the root folder into the container and is defined in Dockerfile. The multi-container project is defined in docker-compose.yml and the project is now run with:
What this pull request does:
MongoDB is added to the project using Mongoose. A simple User model is defined with username, email and password fields, and /login and /signup POST endpoints were added as well as a GET /users endpoint
The entire backend has been dockerized as a multi-container project. The backend container is using volumes to map the root folder into the container and is defined in Dockerfile. The multi-container project is defined in docker-compose.yml and the project is now run with:
docker-compose up