This folder contains all of the React components that we use in order to build the website.
index.js contains the server that communicates with the local instance of MySQL Workbench, and exposes all of the APIs that our front-end uses.
Contains the SQL files that are able to duplicate our database on a local machine.
Contains all of the static assets (images, etc) that we use on the front-end.
Contains all of the React dependencies that we need for the front-end.
Contains our preliminary sketches for the website.
Before attempting these installation steps, make sure you have the latest version of Node.js and nodemon installed.
- From sql_scripts/, run petsitting_create.sql and petsitting_insert.sql.
- Edit line 9 in index.js with your local MySQL Workbench connection information, changing the root password to match yours.
- In your terminal, navigate to the root directory of the project and run
nodemon index.js
- In your terminal, then run
npm install
. - Then, in your terminal, run
npm start
. - In your web browser, navigate to
localhost:3000
.