Code Monkey home page Code Monkey logo

canteen-management-system's Introduction

Canteen Management System

Canteen Management System is a CLI-based application built using C++ that allows customers to purchase items from the canteen and provides management tools for the owner. The application utilizes a local database to store information.

Customers Section

  • Customers can purchase items from a pre-defined list of items by entering their serial number and quantity.
  • After selecting all of the desired items, customers are prompted to enter their name into the system.
  • They are then directed to the checkout page, where they can review their purchase list and apply a coupon code for a 10-50% discount on their total amount.
  • Finally, customers are taken to the invoice generation page, where they can clearly see their name, the time of purchase, and a tabular format of all items purchased with the final amount to be paid.

Admin Section

Before accessing the admin page, users must complete a verification step by entering a password to confirm that they are a valid admin. Once verified, the admin has access to two options:

I. Customize Food Menu

  1. Add New Item ( Exact Position, Beginning, Bottom)
  2. Delete Item
  3. Replace Item

II. Check All the Sales he Made

The admin can view all sales made by the canteen and the overall revenue generated.

Source Code and Downloads

Windows Build EXE -> Download
Source Code -> Get Source File

Note

  • This application was built using C++, so make sure you have a C++ compiler installed on your system before recompiling and running the app.
  • This application utilizes a local database (Text-based) to store information, so make sure you have the required dependencies installed on your system.
  • This application is a prototype and there may be bugs. Feel free to open an issue or make a pull request to fix them.

Conclusion

Canteen Management System is a simple and easy to use application that helps customers to purchase items and admin to manage the canteen sales and revenue. Try it out and let us know what you think.

Application UI and Screenshots

#1 Application Starts ( Welcome Page )


#2 User Selection Page (Customer / Admin)


#3 Select Items Currently available in Canteen


#4 Fill Your Details Before Checkout


#5 Checkout and Apply Coupons


#6 Payment and Invoice


#7 Verification for user: admin


#8 Admin Mode Features


#9 Edit Food Menu Page


#10 Sample: Add New Item at Specific Positon


#11 Track Overall Sales

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.