Skip to content

β˜• Cafe Management Web App 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 πŸ”§ Features: Interactive menu display Add to cart and order summary Dynamic routing using Flask Deployed

Notifications You must be signed in to change notification settings

surajsri23/Cafe_Management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

β˜• Cafe Management Web App

  • 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

πŸ”§ Features:

  • 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.

MIT License

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.


πŸš€ Features

  • 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.

πŸ“ Project Structure

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

βœ… Prerequisites

  • Python 3.8+: For running the Flask app.

  • Node.js 16+: For compiling Tailwind CSS.

  • Git (optional): For version control.

βš™οΈ Setup Instructions

  1. Clone the Repository
git clone https://github.com/surajsri23/Cafe_Management.git
cd cafe-management
  1. Install Python Dependencies
pip install -r requirements.txt
  1. Install Node.js Dependencies
npm install
  1. Compile Tailwind CSS Run this in one terminal to watch for changes:
npx tailwindcss -i input.css -o static/css/styles.css --watch
  1. Run the Flask Application Run this in another terminal:
python app.py
  1. Access the Application Open your browser and navigate to:
http://127.0.0.1:5000

πŸ’‘ Usage

  • 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.

πŸ“Œ License

-This project is licensed under the MIT License. -You are free to use, modify, and distribute this software with proper attribution.

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

  • Suraj Srivastav
  • GitHub: @surajsri23

About

β˜• Cafe Management Web App 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 πŸ”§ Features: Interactive menu display Add to cart and order summary Dynamic routing using Flask Deployed

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published