A full-stack cafe ordering and management system where customers can browse the menu, place orders, make payments, and book tables — while admins manage everything through a dedicated dashboard.
🌐 Live Demo: https://cafe-website.rf.gd/
- Browse menu by category
- Add items to cart
- Update item quantities
- Online checkout system
- Cash on Delivery (COD)
- UPI Payments
- Credit/Debit Card Payments
- Order History powered by MySQL
- Table Booking System
- Contact Form
- Order Management Dashboard
- View Complete Order Details
- Customer Information Tracking
- Payment Method Tracking
- Ordered Items & Quantities
- Paginated Order Listing
- HTML5
- CSS3
- JavaScript
- PHP
- MySQL
- XAMPP
Stores:
- Customer Details
- Address Information
- Payment Method
- UPI Details
- Last 4 Card Digits
- Card Expiry Date
- Order Timestamp
Stores:
- Ordered Items
- Item Price
- Item Quantity
- Linked Order ID
Stores table reservation information.
Stores contact form submissions.
- PDO Prepared Statements
- SQL Injection Protection
- CVC Not Stored
- Only Last 4 Card Digits Stored
- Database Credentials Excluded from Git
git clone https://github.com/Ajay-Naik/Coffee_website.gitOpen phpMyAdmin:
- Create database:
coffee_shop- Import:
database_schema.sql
Copy connect.example.php to connect.php and update credentials:
$host = "localhost";
$dbname = "coffee_shop";
$username = "root";
$password = "";Place project in:
xampp/htdocs/
Start Apache and MySQL in XAMPP, then open:
http://localhost/coffee_website/codes/index.html
- User Authentication
- Email Notifications
- Online Payment Gateway Integration
- Sales Analytics Dashboard
- Inventory Management
Ajay Naik GitHub



