Skip to content

NColusso/Food-Pick-up-Ordering

Repository files navigation

Pizza Bytes

This repository contains a food ordering site was completed as a midterm project while attending Lighthouse Labs

Project by

Each member of the group worked on all aspects - front end, back-end, as well as the database.

Features include

Customer Facing

  • 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!

Client Facing

  • 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

Screenshots

"Screenshot of home page" "Screenshot of menu page" "Screenshot of the edit page" "Screenshot of the cart page" "Screenshot of the checkout page" "Screenshot of checked out page" "Screenshot of restaurant login page" "Screenshot of menu editor page" "Screenshot of all orders page" "Screenshot of an order page"

Getting Started

  1. Create the .env by using .env.example (twilio information is user specific, so this function may need to be commented out)
  2. Update the .env file with your correct local information
  • username: labber
  • password: labber
  • database: midterm
  1. Install dependencies: npm i
  2. Reset database: npm run db:reset
  • Check the db folder to see what gets created and seeded in the SDB
  1. Run the server: npm run local
  • Note: nodemon is used, so you should not have to restart your server
  1. Visit http://localhost:8080/

Dependencies

  • Node 10.x or above
  • NPM 5.x or above
  • PG 6.x
  • ejs
  • Twilio
  • Express
  • cookie-parser

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published