This is for the Northeastern University Database Design Course.
Team members:
- Sheryl Deakin
- Oli Fishstein
- Karan Marwah
- Joey Wood
Steps to Run:
-
Clone Our Entire Repo from Master
-
Run MySQL (through XAMPP or command line tool) and Create a database using our ddl file as SOURCE for schema and our dml file as SOURCE for inserts
e.g.
CREATE DATABASE dbdesignproject;
USE dbdesignproject;
SOURCE /Users/karanmarwah/Desktop/DatabaseHw/CS3200/project/ddl.sql;
SOURCE /Users/karanmarwah/Desktop/DatabaseHw/CS3200/project/dml.sql;
-
cd into our 'dbdesignproject' folder
-
Run the command 'npm install' to install all dependencies
-
Run the command 'brew install yarn' if you do not already have yarn on your system
-
cd into the 'src folder
-
open the server.js file. At the top edit the username, password, and database name to match the ones you used for step 2.
-
in the 'src' folder run 'node server.js'. The backend should now be running on localhost:3000
-
cd .. and return to the 'dbdesignproject' directory. Run 'yarn start'. The front end should prompt you to run on another port as 3000 is in use, type in 'y'
-
once compilation has finished the frontend should be available at localhost:3001 in your browser