Cafe Management System
About The Program Re Cafe
In this mini project, I tried to make a management system for a cafe in which I made two python scripts. In one I stored all functions and in another is our main program file where we import this function file. The whole program is divided into two parts- At the beginning of the program, we ask the user to specify that he/she is admin/owner or customer and based on that:
For Admin/Owner
We ask for an admin ID and Password. After successful verification of admin, we give options for changing menu items, updating menu items, and seeing sales details.
For a Customer We first show the menu, then ask for the order and also give them options to remove and add items till the time he confirms the order, then print their bill. And all these sales details are saved in a text file.
Python script files
Re_cafe_main_page.py (main file) This is our main file for the program and in this, we import the function file. Re_cafe_function.py In this file we stored all the functions which we have used in our main file.
Text files used
| Name | Description |
|---|---|
| Admin_info.txt | In this text file we stored the information of Admin and their password. |
| Cafe_menu.txt | In this file we stored the menu details. |
| cart.txt | In this file we write the order details of a customer. |
| Order_history.txt | In this file we save the sales details. |
Credentials for Login as a Admin
| Admin Name | Password |
|---|---|
| srajan | re:cafe |
Please Use any of them to enter!
For More Details About The Function See The DocString or Use help() function To Know More About The Functions!
Thank You
Log in or sign up for Devpost to join the conversation.