The backend uses the Docker container to pull the MongoDB image, making it easier to setup the database. If you are using Windows, please make sure you have Windows Pro.
-
Navigate into the 'docker' folder
-
Run the docker-compose file with: To start the database, cd into 'docker' folder
docker-compose -f docker-compose.yml up
-
Navigate to root
-
Install all dependencies
npm install
- Run the app
npm start
- 27017:27017 (mongodb)
- 5000:5000 (app)
- Docker (2.2.0.4)
- Docker-compose (1.25.4)
PS. Feel free to contact me if you have any issues running it!