- Riley Cleavenger
- Tyler Metz
- Sam Forstot
- Steele Elliott
- Edward Menello
This web app scrapes weekly deals from groccery store websites, and gives users the most cost-effecient recipes based on filters such as what ingredients you already have. Users can manage their pantry by adding ingredients they already own.
- User first must signup if they do not have an existing account.(for testing use username: ri, password: ri)
- To signup click the signup link on the login page and fill all associated forms with proper inputs
- User logs in
- Can then navigate to pantry/deals/recipes pages
Pantry Page Usage- The pantry table on the right displays users Ingredients in their pantry
- The form on the left lets users add new ingredients into their pantry
Deals Page Usage- Deals table shows current Ingredients on sale at publix and the deals associated with them
Recipes Page Usage- Recipe card displays the highest scored recipe with the users current pantry and the current deals at Publix
- Can navigate to 29 other recipes with buttons underneath the card
-
Initialize the submodules:
$ git submodule update --init --recursive
-
Set Go Environment variables
- Set GO111MODULE to off:
- On Windows:
$ SET GO111MODULE=off - On MacOS:
$ export GO111MODULE="off"
- On Windows:
- Enure GOROOT and GOPATH are the correct locations:
- GOPATH must be the folder of the Saucier720 local repository
- GOROOT must be the GO install location
- On Windows:
C:\Program Files\goorC:\Program Files (x86)\go
- On bash (MacOS):
/usr/local/Cellar/go/1.19.5/libexec
- On Windows:
- Note: On Windows you have to set all three variables within "Edit the system environmental controls" > "Environmental Variables"
- Set GO111MODULE to off:
-
Install all external packages to the GOROOT
$ cd src$ go get -u github.com/gorilla/mux$ go get -u github.com/rs/cors$ go get -u github.com/microsoft/go-mssqldb$ go get -u golang.org/x/exp/slices$ pip install bs4$ pip install selenium$ pip install webdriver-manager$ pip install selenium-stealth
-
Install Internal Package
$ cd src$ go install BackendPkg
-
Run in Saucier720 folder:
$ npm install -g @angular/cli$ cd Saucier720-app$ npm install
-
Run the program:
$ cd Saucier720$ ./build.sh