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
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
- Clone the repository
- Run
npm install
in the root directory
node .
ornpm run express-run
or- Run
npm run build-run
to build the client and run the server.
Alternatively, you can build the client and run server separately.
- Run
npm run build
to build the client. - Run
npm run express-run
to run the server.
npm run dev
- Runs the vite development server for the react clientnpm 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
This is a fullstack application that requires a MySQL database.
- Firstly, you will need a MySQL server.
- Get the MySQL server & MySQL Workbench using the installer
- Configure root username to
root
& root password toadmin
- Load the tables & example data from
resources/CDEVRestauRantDB20230205.sql
by either using "data import" or running the script directly.
- See icons from https://icones.js.org/
- Use library Iconfig to use icons from multiple vendors in React