Hungry clients of Food Express can visit its website, selecta food item and add it to their shopping cart. They then select a method of payment i.e Cash on pick-up or online payment. They will receive a notification when their order is ready.
The restaurant and client both need to be notified since this app serves as an intermediary.
When an order is placed the restaurant receives the order via SMS. The restaurant can then specify how long it will take to fulfill it. Once they provide this information, the website updates for the client and also notifies them via SMS.
The Website features a revolving carosel displaying 6 dishes at a time. Additionally each dish is a flip card with the description and price labelled at the back.
- 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/
- Node JS 5.10.x or above
- NPM 3.8.x or above
- morgan
- knex
- node-sass-middleware
- twilio
- Stripe
- cookie-session
- body-parser