This repository contains a food ordering site was completed as a midterm project while attending Lighthouse Labs
Project by
- Adam Tranquilla - https://github.com/AdamTranquilla
- Natasha Colusso - https://github.com/NColusso
- Zach Harrison - https://github.com/zachharrison
Each member of the group worked on all aspects - front end, back-end, as well as the database.
- A menu page for a customer that populates menu items and their price, as well as any default toppings that are included on a pizza
- When a pizza is added to the cart, taken to a secondary page with default toppings pre-selected, allowing you to add additional or remove defaults
- A cart page that will update the price based on the toppings that a user chooses and their price (defualt toppings wil not be calculated, since they are included)
- A checkout page with a price summary and fields for name, email and phone number, and will receive a text message notification upon checkout that your order will be ready in 30 minutes
- Finally you are proceeded to a success page that thanks you for your order!
- After going through the login page, you can see your menu which gives you the option to edit existing menu items, updating their photo URL, name, description and price.
- An orders page where you can see a list of any orders
- Ability to click on a specific order or customer to get specific details
- Create the
.env
by using.env.example
(twilio information is user specific, so this function may need to be commented out) - Update the .env file with your correct local information
- username:
labber
- password:
labber
- database:
midterm
- Install dependencies:
npm i
- Reset database:
npm run db:reset
- Check the db folder to see what gets created and seeded in the SDB
- Run the server:
npm run local
- Note: nodemon is used, so you should not have to restart your server
- Visit
http://localhost:8080/
- Node 10.x or above
- NPM 5.x or above
- PG 6.x
- ejs
- Twilio
- Express
- cookie-parser