Rate-My-College-Food/
|-- server/
| |-- (backend codes)
| |-- db/
| |-- (files related to ER model, data schema, raw data, and populate-data python script)
|-- client/
| |-- (frontend codes)
- Python installed
- Node.js and npm installed
- MySQL server installed
- Install the required Python package:
pip install mysql-connector
- Navigate to the
server/db
directory:cd server/db
- Install the npm packages for the server:
npm install
- Update database credentials in
populate-food.py
with your MySQL server credentials. - Run the script to populate the data:
python populate-food.py
- Navigate to the
server
directory:cd server
- Install the npm packages for the server:
npm install
- Navigate to the
client
directory:cd ../client
- Install the npm packages for the client:
npm install
- Update database credentials in
client/api/FoodFinder.js
with your MySQL server credentials.
-
Start the server. Navigate to the
server
directory:npm run start
-
Start the client. Navigate to the
client
directory:npm run start
-
If there are no errors, the application will run at http://localhost:3000.
Now, you can access the Rate My College Food application locally. Enjoy exploring and rating college food!