Skip to content

Latest commit

Β 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” SnackQ - Smart Canteen Order & Queue Management System

Python Flask SQLite Status

SnackQ is a role-based Smart Canteen Order & Queue Management System built using Python Flask and SQLite.

The application streamlines the food ordering process by allowing customers to place orders online, track queue status, and reduce waiting time. Staff members manage food orders and menu items, while administrators monitor business analytics, sales reports, customer feedback, and staff management.


⭐ Key Highlights

  • πŸ” Role-Based Authentication (Customer, Staff & Admin)
  • 🍽 Online Food Ordering
  • πŸ›’ Shopping Cart
  • πŸ“¦ Queue Management System
  • ⏱ Estimated Waiting Time
  • πŸ“Š Interactive Analytics Dashboard
  • πŸ“„ PDF Report Generation
  • πŸ’¬ Customer Feedback System
  • πŸ“± Responsive User Interface

πŸ“Έ Project Preview

Home Page Customer Menu
Staff Dashboard Admin Dashboard

🌐 Demo

This project currently runs locally.


✨ Features

πŸ‘€ Customer

  • User Registration & Login
  • Secure Password Authentication
  • Browse Food Menu
  • Search Food Items
  • Add Items to Cart
  • Remove Items from Cart
  • Place Food Orders
  • Track Order Status
  • Queue Position Tracking
  • Estimated Waiting Time
  • Order History
  • Reorder Previous Orders
  • Customer Profile Management
  • Change Password
  • Submit Feedback
  • Edit Feedback
  • View Admin Replies

πŸ‘¨β€πŸ³ Staff

  • Secure Login
  • Staff Dashboard
  • View Customer Orders
  • Update Order Status
    • Received
    • Preparing
    • Completed
  • Queue Management
  • Order Time Tracking ("Time Ago")
  • Menu Management
    • Add Menu Item
    • Edit Menu Item
    • Delete Menu Item
    • Toggle Stock Availability
  • Profile Management
  • Change Password

πŸ‘¨β€πŸ’Ό Admin

  • Secure Login
  • Admin Dashboard
  • Business Statistics
  • Revenue Analytics
  • Interactive Charts
  • Daily / Weekly / Monthly / Yearly Reports
  • Manage Staff
    • Add Staff Members
    • Delete Staff Members
  • Food Sales Report
  • Export Delivered Orders to PDF
  • View Customer Feedback
  • Reply to Customer Feedback
  • Delete Customer Feedback
  • Profile Management
  • Change Password

πŸ“Š Admin Dashboard

The Admin Dashboard provides real-time business insights including:

  • Total Orders
  • Received Orders
  • Preparing Orders
  • Completed Orders
  • Delivered Orders
  • Cancelled Orders
  • Total Revenue
  • Total Customers
  • Total Staff Members
  • Daily Analytics
  • Weekly Analytics
  • Monthly Analytics
  • Yearly Analytics
  • Interactive Charts using Chart.js

πŸ›  Tech Stack

Backend

  • Python 3
  • Flask

Frontend

  • HTML5
  • CSS3
  • JavaScript

Database

  • SQLite

Libraries

  • Flask
  • ReportLab
  • Werkzeug
  • Chart.js

πŸ“‚ Project Structure

SnackQ/
β”‚
β”œβ”€β”€ app.py
β”œβ”€β”€ config.py
β”œβ”€β”€ SnackQ.db
β”œβ”€β”€ requirements.txt
β”œβ”€β”€ README.md
β”‚
β”œβ”€β”€ static/
β”‚   β”œβ”€β”€ css/
β”‚   β”œβ”€β”€ images/
β”‚   └── js/
β”‚
β”œβ”€β”€ templates/
β”‚   β”œβ”€β”€ base.html
β”‚   β”œβ”€β”€ home.html
β”‚   β”œβ”€β”€ login.html
β”‚   β”œβ”€β”€ register.html
β”‚   β”œβ”€β”€ menu.html
β”‚   β”œβ”€β”€ cart.html
β”‚   β”œβ”€β”€ profile.html
β”‚   β”œβ”€β”€ staff_dashboard.html
β”‚   β”œβ”€β”€ staff_menu.html
β”‚   β”œβ”€β”€ admin_dashboard.html
β”‚   β”œβ”€β”€ sales_report.html
β”‚   β”œβ”€β”€ feedback.html
β”‚   β”œβ”€β”€ edit_profile.html
β”‚   β”œβ”€β”€ change_password.html
β”‚   └── other templates
β”‚
└── screenshots/
    β”œβ”€β”€ 01-home.png
    β”œβ”€β”€ 02-menu.png
    β”œβ”€β”€ 03-cart.png
    β”œβ”€β”€ 04-profile.png
    β”œβ”€β”€ 05-staff-dashboard.png
    β”œβ”€β”€ 06-menu-management.png
    β”œβ”€β”€ 07-admin-dashboard.png
    β”œβ”€β”€ 08-sales-report.png
    β”œβ”€β”€ 09-feedback.png
    └── 10-pdf-report.png

πŸ“Έ Application Screenshots

🏠 Home Page

Home


🍽 Customer Menu

Menu


πŸ›’ Shopping Cart

Cart


πŸ‘€ Customer Profile

Profile


πŸ‘¨β€πŸ³ Staff Dashboard

Staff Dashboard


πŸ” Menu Management

Menu Management


πŸ‘¨β€πŸ’Ό Admin Dashboard

Admin Dashboard


πŸ“Š Food Sales Report

Sales Report


πŸ’¬ Feedback Management

Feedback


πŸ“„ PDF Orders Report

PDF Report


πŸš€ Installation

1. Clone the repository

git clone https://github.com/SamhithaBhatN/SnackQ.git

2. Navigate to the project

cd SnackQ

3. Create a virtual environment

python -m venv .venv

4. Activate the virtual environment

Windows

.venv\Scripts\activate

Linux / macOS

source .venv/bin/activate

5. Install dependencies

pip install -r requirements.txt

6. Run the application

python app.py

7. Open your browser

http://127.0.0.1:5000

πŸš€ Future Enhancements

  • πŸ’³ Payment Gateway Integration
  • πŸ“± QR Code Based Ordering
  • πŸ“§ Email Notifications
  • πŸ“² SMS Notifications
  • πŸ“± Android/iOS Mobile Application
  • πŸ€– AI-Based Food Recommendations
  • πŸ“¦ Inventory & Stock Management
  • 🎁 Coupon & Discount System
  • πŸ“Š Excel & PDF Report Export
  • πŸ”” Real-Time Order Notifications

πŸ‘©β€πŸ’» Author

Samhitha Bhat

BCA Graduate

Skills

  • Python
  • Flask
  • SQLite
  • HTML5
  • CSS3
  • JavaScript

GitHub

https://github.com/SamhithaBhatN

Project Repository

https://github.com/SamhithaBhatN/SnackQ


πŸ“„ License

This project is developed for educational and portfolio purposes.

About

Smart Canteen Order and Queue Management System using Flask

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages