Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.8 KB

README.md

File metadata and controls

44 lines (34 loc) · 1.8 KB

Bendito

A responsive, team-built food-ordering and order management application that communicates with clients via SMS. Built with JavaScript, PostgreSQL, Express, Twilio API, Ajax, jQuery and HTML/CSS/SASS with Bootstrap.

Final Product

"Screenshot of responsive menu" "Screenshot of menu page" "Screenshot of placing order" "Screenshot of order status page" "Screenshot of admin login" "Screenshot of admin orders page" "Screenshot of admin orders updated"

Project Setup

  1. Fork and clone repository
  2. npm i to install dependencies

Getting Started

  1. Create the .env by using .env.example as a reference: cp .env.example .env
  2. Update the .env file with your correct local information
  3. Install dependencies: npm i
  4. Fix to binaries for sass: npm rebuild node-sass
  5. Run migrations: npm run knex migrate:latest
  • Check the migrations folder to see what gets created in the DB
  1. Run the seed: npm run knex seed:run
  • Check the seeds file to see what gets seeded in the DB
  1. Ensure ENV is set to 'development'
  2. Run the server: npm run local
  3. Visit http://localhost:8080/

Dependencies

  • Node 5.10.x or above
  • NPM 3.8.x or above
  • body-parser
  • EJS
  • Express
  • Knex
  • moment
  • Twilio