Restaurant-app is a pick up ordering service that allows for SMS communication to customer on order ready.
This app has 3 main pages:
- A home page which displays the restaurant's menu and allows users to place and check on orders
- A order page which allows users to check on their order details
- A dashboard page which allows owners to notify customers of time of order completion and check on pending and completed orders
It is built using HTML, SASS, JS, jQuery and AJAX front-end skills, and Express and PostgreSQL back-end skills.
Home Page Message on successful order Customer's order details Owner's dashboard
- Create the
.env
by using.env.example
as a reference:cp .env.example .env
- Update the .env file with your correct local information
- Install dependencies:
npm i
- Fix to binaries for sass:
npm rebuild node-sass
- Run migrations:
npm run knex migrate:latest
- Check the migrations folder to see what gets created in the DB
- Run the seed:
npm run knex seed:run
- Check the seeds file to see what gets seeded in the DB
- Run the server:
npm run local
- Visit
http://localhost:8080/
- Express
- Node
- NPM
- Body-parser
- Chance
- MD5
- Mongodb
- Bcryptjs
- Dotenv
- EJS
- Knex
- Knex-logger
- Minimist
- Moment
- Moment-timezone
- Morgan
- Pg
- Sass
- Twilio