Project Proposal in /doc/CS411-ProjectProposal.pdf
Relational Schema and ER Diagram in /doc/Stage2 - UML_ER and Relational Schema.pdf
Database implementation details and indexing analysis in /doc/Stage 3 - Database Implementation and Indexing.pdf advanced queries script in /util/advanced_queries.py data generation for the various tables in /util/data_generation.py index creation testing in /util/create_indices.py testing script in /util/api_sql_calls_tester.py
- Make sure the endframe triviattack database instance is up and running on GCP.
- Make sure your computer's IP address has been allow-listed to access the mySQL instance on GCP
- Clone this git repo
- Make sure you have installed Golang 1.18 and Node.js and npm
- Navigate to fa22-cs411-Q-team110-Endframe\api\ in a terminal
- execute:
go run main
- You may have to allow Golang to run the .exe it compiled
- Navigate to fa22-cs411-Q-team110-Endframe\client\triviattack in a separate terminal
- execute
npm install
- execute:
npm start
- Go to localhost:3000 in your favorite browser
Prerequisites:
-
install the google cloud command line, gcloud
-
Navigate to fa22-cs411-Q-team110-Endframe\
-
Execute:
docker build -t triviattack ./api/ docker run -p 8080:8080 triviattack //to test the docker image docker tag triviattack gcr.io/endframe/triviattack docker push gcr.io/endframe/triviattack
Go to this URL: https://triviattack-frontend-ebo6y2ojba-uc.a.run.app/