You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Download the project via git clone or by downloading the files as a .zip.
Open the backend folder in your terminal via cd capstone-project-3900-f18b-poggers/backend
Enter npm install to install backend dependencies
Run npm start to run the backend on port 6921.
Repeat steps 2-4 for the frontend folder (capstone-project-3900-f18b-poggers/frontend) to run the frontend.
After this, the application should have successfully opened in a browser window.
Database Credential Configuration
If you are planning to set up the project in your local development environment, you will need to change the database credentials located in backend/nodemon.json.
To generate these credentials, we will need to create a MongoDB database:
Click on the “Build a Database” button after signing in to create a new MongoDB database.
Select your desired database configuration and click “Create Cluster”.
Create a new user for your new database.
Select your desired connection settings.
After your new database has been created, click on the “Connect” button.
Select the “Connect your application” option.
Take note of the username, password and database name and replace the values in nodemon.json with these values, replacing <password> with your user’s password.
Side Notes
The application might become a bit slow/unresponsive if many recipes are uploaded with a free MongoDB database (i.e. Shared Cluster).