Skip to content

yash-learner/cafeteria-management

Repository files navigation

Readme under the work

Cafeteria Management System

Credentials to test the Website

It might take some time to load the website becuase the website is hosted on free-tier plan of Heroku.

Owner

Email: [email protected]
Password: USER@owner#17

Online Customer

Email: [email protected]
Password: USER@demo$4

About

This project is online representation of cafe or restaurant. This is a MVP (1.0.0) built using Ruby on Rails(6), HTML, CSS, and Postgresql as the database and finally deployed to heroku.

Personas

There are 3 personas:

  • Customer
  • Billing Clerk
  • Owner

Customer

This is a regular customer who visits the website. They can able to place orders, see the status of their active order, and see the history of all the orders they placed.

  • Customer can sign up to create a new account. If they are existing users they can sign-in using their email and password.
  • Appropriate errors pop up if they try to sign up using an existing user's email, or if they leave the form blank.
  • They can see the active menu and menu items and can add items to the cart and place an order.
  • They can see their orders staus,history invoices and cart items.

Cafeteria Billing Clerk

Billing clerks can only sign-in and sign-out. They cannot sign-up by themselves. Their accounts can be created only by the owner.

  • They can see all the orders and can change the status of the orders.
  • Clerk can create orders for offline customers.

Cafeteria Owner

The owner has complete access of the system. They can add and update stock, create invoices, see all reports and so on.

  • Nobody can sign-up as an owner. Instead, the live application should come with an owner already created.
  • Can create clerks and other owners.
  • Owner can manage the menu such as view, create, update, active/inactive a menu category.
  • Can manage menu items in menu categories such as add, delete and update.
  • Can see reports.
  • can manage the users.

Upcoming Features:

- integrate Amazon S3 for storing image of menu item. 07/03/2022 => need to know and apply strict cors origin

  • Add AJAX or javascript fetch to send requests without page reload.
  • Improve look all the pages
  • Generate invoices, reports, summary.
  • Add forgot password feature.
  • improve look of the website.
  • Improve orders page, integrate email server or Amazon SES/SNS.
  • Rewrite complete frontend(HTML/CSS) with React.js
  • Integrate payment gateways.
  • Add temporary login as user, owner on login page to test the webiste instead of providing credentials in repo's readme.md