Ordo is a site for users to browse menus from a list of restaurants. They can select one or more dishes and place an order for pick-up. They will receive a notification via Twilio when their order is ready. Restaurant owners can add and edit their menu items. Both clients and restaurant owners can view their current and past order histories.
- In order for the twilio in call features to work ngrok needs to be running. The url that ngrok produces needs to then be updated within twilio's website:
https://www.twilio.com/console/phone-numbers/incoming - 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/
- To login as a customer use: email: haha@gmail.com password: 000000
- To login as a restaurant use: email: RedLobster.com password: 000001
- Node 5.10.x or above
- NPM 3.8.x or above