Cook Book - A recipe collection web app for everyone interested/involved in cooking, where users can add/edit their recipes and share them with other users. User can also save and unsave recipes in their accounts and add comments to other recipes to share their feedback.
Database
- Stores each user's username and password, as well as their recipes.
- Stores each recipe, the details of the recipe and the comments on the recipe.
-
Make sure Docker Desktop is installed, if not,
check here for windows
check here for mac
-
Clone this repository to your local machine
-
Once the docker desktop is installed, make sure you go to the top right corner and click on bug sign to navigate to RESET TO FACTORY DEFAULTS. This will reset Docker and prompt Docker to restart. Please make sure you do this step before running the files from github repository because the docker does not create right images sometimes (you won't always have to do this, but do it just in case).
-
Go to the root folder (final-project-team12) and run the following command
docker-compose up
-
This will install all the required dependencies and the web app starts running at port 127.0.0.1:3000. Make sure you go to 127.0.0.1:3000 port because the docker outputs the web-app at 127.0.0.1:3000 port.
Find our deployed web app here: Cook Book.
this app is no longer deployed there, you can use the docker image to deploy locally.
Find our Docker Hub image for the project here.