Skip to content

ultraflame4/CDEVRestaurantReview

Repository files navigation

RestauRant

image

This is a Restaurant Review website built using ReactJS and ExpressJS

This is a web development project done for school.

Browsing / General Features

restaurant_review_loggedout.mp4

Account Features

restaurant_review_account_features.mp4

Searching:

This project uses the Fuse.js library to search for restaurants.

To refine your search, you can use the following search operators:

Token Match type Description
jscript fuzzy-match Items that fuzzy match jscript
=scheme exact-match Items that are scheme
'python include-match Items that include python
!ruby inverse-exact-match Items that do not include ruby
^java prefix-exact-match Items that start with java
!^earlang inverse-prefix-exact-match Items that do not start with earlang
.js$ suffix-exact-match Items that end with .js
!.go$ inverse-suffix-exact-match Items that do not end with .go

Taken from: https://fusejs.io/examples.html#extended-search

Installation

  1. Clone the repository
  2. Run npm install in the root directory

Running the project

  1. node .
    or npm run express-run or
  2. Run npm run build-run to build the client and run the server.

Alternatively, you can build the client and run server separately.

  1. Run npm run build to build the client.
  2. Run npm run express-run to run the server.

Running the project in development mode

  1. npm run dev - Runs the vite development server for the react client
  2. npm run express-dev - Starts the express server with nodemon (auto restart for code changes). The express server will use the files in ./dist/ folder for its static html pages

MySQL Database Setup

This is a fullstack application that requires a MySQL database.

  1. Firstly, you will need a MySQL server.
    1. Get the MySQL server & MySQL Workbench using the installer
    2. Configure root username to root & root password toadmin
  2. Load the tables & example data from resources/CDEVRestauRantDB20230205.sql by either using "data import" or running the script directly.

Things to Note:

About

Schooool Proejct

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published