Foodie a web application that allows the user to write, edit, and share recipes. The application automatically calculates relevant data (macronutrients, calories, nutritional value, etc.) based on the ingredients of the recipe. The data is presented via interactive data visualizations (graphs, charts, etc.). Recipes created by a user will be stored on a user's account and displayed on the home page. Users can also filter recipes by certain criteria (i.e. most recent, high protein, low calorie, etc.). Users can choose from hundreds of ingredients in our database to create recipes and track calories/nutrients. Try Foodie yourself!
Front-End
Dylan DePasquale and Richard Qian
Back-End
Pranav Venu and Paul Jablonowski
- Clone the repo into your local machine using the following command in the terminal:
git clone https://github.com/DylanDePasquale24/Foodie.git
-
Install latest nodeJS, npm versions (I am using node v16.17.0 and npm v8.15.0)
-
Install Angular CLI using the following command:
npm install -g @angular/cli
- Note the project was generated with Angular version 15.1.2
-
Install go, tutorial found in https://go.dev (My version is go1.19.5 windows/amd64)
-
Navigate into the Angular Frontend folder in the terminal with cd '.\Angular Frontend' and run
npm install
to install dependencies
- Navigate into the Backend folder in the terminal and perform
cd Backend go run main.go
- Open another terminal to start the frontend by running the following commands:
cd '.\Angular Frontend\' ng serve
- Open a browser and navigate to
http://localhost:4200/
- Complete all the steps in the "Running the Application" section
- Open another terminal window and navigate into the Angular Frontend folder with
cd '.\Angular Frontend\'
. Run the command'npx cypress open'
to open the Cypress test runner.
- Complete all the steps in the "Running the Application" section
- Open another terminal window and navigate into the Angular Frontend folder with
cd '.\Angular Frontend\'
. Run the commandng test
to run the unit tests.
- Complete all the steps in the "Running the Application" section
- Open another terminal window and navigate into the Backend folder with
cd '.\Backend\'
. Run the commandgo test
to run the unit tests.