Skip to content

VivekPatel3835/EasyEats

Repository files navigation

Easy Eats

A Food Ordering service

A food ordering experience for a single restaurant. Hungry clients of this fictitious restaurant can visit its website, select one or more dishes and place an order for pick-up. They will receive a notification when their order is ready.

This project was built using HTML, CSS, JS, jQuery, AJAX for front-end , and Node, Express and PostgreSQL for back-end.

Getting Started

  1. Clone this repository.
  2. From the project's root directory, install dependencies using the npm install command.
  3. Create a .env file by running cp .env.example .env - this will create a copy of .env.example
  4. Add your Twilio api credentials into the .env file. If you do not have a Twilio account, please create one.
  5. Create a database on heroku by following the steps here: https://docs.appery.io/docs/apiexpress-databaseconnection-heroku-postgres and then add the credentials into the .env file.
  6. Fix to binaries for sass by running: npm rebuild node-sass
  7. Run the database schema migrations: npm run knex migrate:latest
  • Check the migrations folder to see what gets created in the DB
  1. Seed the database with data: npm run knex seed:run
  • Check the seeds file to see what gets seeded in the DB
  1. Run the server: npm run local
  2. Visit http://localhost:8080/

Dependencies

  • Express
  • Node 12.10.x or above
  • body-parser
  • bcrypt
  • cookie-session
  • twilio
  • knex
  • knex logger
  • method-override
  • morgan
  • node-sass-middleware
  • ejs
  • dotenv
  • pg
  • stripe

Screenshots

"Screen shot for Home page" "Screenshot for Menu page" "Screenshot for Checkout page" "Screenshot for Cart items page" "Screenshot for Menu page"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published