Foodoodoo is a web application that allows registered users to order food online and pickup for a later time. This application is built by Saad Hafa, Barry Chen, and Karine Seguin.
-
Upon visiting
http://localhost:8080/
, the user will be directed to theLogin
page: -
The user should click
Create Account
to register for an account and enter the required fields: -
Once logged in, the user will be redirected to the restaurant main page and see the available restaurants they can order from
-
The user may click on the restaurant link which will redirect them to the restaurant menu page
-
The user may choose the item and quantity they wish to order by clicking the
+
and-
button beneath the items. An order summary including the total price will appear next to the menu. -
The user can click
Order Now
to place an order, an order request will be sent to the restaurant. Meanwhile, the user will be redirected to theOrder Status
page and can view the current status of the order as 'Pending'. -
Once the restaurant accepts the order. The user will then receive a corresponding sms message on their phone and the status of the order will be changed to 'Accepted'
-
Once the order is ready for pickup, the user shall receive another sms message on their phone and the status of the order will be changed to 'Ready'
-
Finally, once the user picks up the food. They should receive a final text message saying their order is completed. The order will then be stored into the
Order History
page and its status labeled as 'Completed'
- Node.js
- EJS
- Bootstrap 3
- jQuery
- SASS
- knex.js
- PostgreSQL
- cookie-session
- Clone the repository
- Install all dependencies using
npm install
- Run data migrations:
npm run knex migrate:latest
- Run the seed:
npm run knex seed:run
- Run the server:
node server.js
- Visit
http://localhost:8080/