Foodhub is a food delivery website that have a plenty restaurants registered in it so people can go over every restaurant and see all the meals they offer then order any meal from any restaurant they want
- Imad Shatali Team Lead
- Nour Adawi
- Mohammed Mansour
- Ahmed Omar
As a Customer
The user can register/login to the website through many options, username & password, Google, Facebook. And they could explore the meals in the website either by the restaurant page or a specific category page. they can add to cart the meals they want and then order it. also if they have a promo code they can use it , but a promo code can only be used once by the user.
As a Customer
- I want to create an account.
- I want to log in to my account.
- I want to see all available restaurants .
- I want to see all categories in the restaurants.
- I want to see all meals in a category.
- I want to search for a meal/restaurant
- I want to add meals to my cart.
- I want to choose what meal to order and select quantity.
- I want to be able to delete from my cart.
- I want to be able to use a promo code
- I want to select my payment method.
- React
- React router
- Material Ui
- Firebase authentication
- express
- postgresql
- sequelize
- Firebase authentication
- faker
- clone repo
- Run
npm i
- create
.env
in server folder and add the following:
DEV_DB_URL = postgres://username:password@localhost:5432/database
NODE_ENV = development
- create
.env
in client folder and add the following:
REACT_APP_API_URL = http://localhost:8080
HTTPS=true
ESLINT_NO_DEV_ERRORS=true
- create fake data using the command:
npm run build:fakedata
- build the database using the command:
npm run build:db
- to start the frontend & the server run:
npm run dev:server
npm run dev:client
create restaurant admin page where he can add, edit, delete meals.