-
This is a simple Flask-based Cafe Management System designed to demonstrate core web development skills using Python, Flask, HTML, CSS, and Render deployment.
-
π Live Demo: https://cafe-management-r7tc.onrender.com
-
Interactive menu display
-
Add to cart and order summary
-
Dynamic routing using Flask
-
Deployed live using Render
-
Fully responsive and clean UI
-
β‘ This project is part of my personal practice to demonstrate full-stack capabilities and deploy real-time Python applications.
A simple web application built with Flask and Tailwind CSS to manage a cafΓ©'s online ordering system. Features include browsing the menu, adding items to a cart, proceeding to checkout, and placing orders.
- Menu Display: Browse food and drink items with images sourced from Unsplash.
- Cart Functionality: Add items to a cart and view the total cost.
- Checkout: Select a table number, enter a customer name, and place an order.
- Responsive Design: Works on mobile, tablet, and desktop devices.
- Printable Bill: Generate and print a bill from the cart.
cafe-management/
βββ static/
β βββ css/
β β βββ styles.css # Compiled Tailwind CSS
β βββ js/
β β βββ script.js # Client-side JavaScript
β βββ images/ # (Optional) Local images if used
β βββ favicon.ico # Favicon for the site
βββ templates/
β βββ index.html # Main HTML template
βββ input.css # Tailwind CSS input file
βββ app.py # Flask backend
βββ tailwind.config.js # Tailwind configuration
βββ package.json # Node.js dependencies
βββ requirements.txt # Python dependencies
βββ README.md # Project documentation
-
Python 3.8+: For running the Flask app.
-
Node.js 16+: For compiling Tailwind CSS.
-
Git (optional): For version control.
- Clone the Repository
git clone https://github.com/surajsri23/Cafe_Management.git
cd cafe-management- Install Python Dependencies
pip install -r requirements.txt- Install Node.js Dependencies
npm install- Compile Tailwind CSS Run this in one terminal to watch for changes:
npx tailwindcss -i input.css -o static/css/styles.css --watch- Run the Flask Application Run this in another terminal:
python app.py- Access the Application Open your browser and navigate to:
http://127.0.0.1:5000- Browse Menu: Scroll to the "Our Menu" section and view available items.
- Add to Cart: Click "Add to Cart" on any item to add it to your cart.
- View Cart: Scroll to the "Your Cart" section to see your items and total.
- Checkout: Click "Proceed to Checkout," select a table, enter your name, and submit the order.
- Print Bill: From the cart, click "Print Bill" to generate a printable receipt.
-This project is licensed under the MIT License. -You are free to use, modify, and distribute this software with proper attribution.
- Suraj Srivastav
- GitHub: @surajsri23