Skip to content

hientrn1201/College_food_rating

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rate My College Food

Project Structure

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)

Setup Instructions

Prerequisites

  • Python installed
  • Node.js and npm installed
  • MySQL server installed

Database and Dependencies Setup

  1. Install the required Python package:
    pip install mysql-connector
  2. Navigate to the server/db directory:
    cd server/db
  3. Install the npm packages for the server:
    npm install
  4. Update database credentials in populate-food.py with your MySQL server credentials.
  5. Run the script to populate the data:
    python populate-food.py

Application Setup

  1. Navigate to the server directory:
    cd server
  2. Install the npm packages for the server:
    npm install
  3. Navigate to the client directory:
    cd ../client
  4. Install the npm packages for the client:
    npm install
  5. Update database credentials in client/api/FoodFinder.js with your MySQL server credentials.

Running the Application

  1. Start the server. Navigate to the server directory:

    npm run start
  2. Start the client. Navigate to the client directory:

    npm run start
  3. 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!

About

Rate College Food App for Davidson Students

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published