You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Restaurant Management App
## Overview
This is a desktop application for restaurant management, built using Electron and SQLite. It is designed for Indian restaurants and supports admin and staff roles, menu management, cashier operations, and GST-compliant receipts.
## Features Implemented
### 1. User Authentication
- **Admin Login**: Default admin user (`admin` / `admin123`).
- **Staff Login**: Admin can add staff users. Staff can log in and access staff dashboard.
### 2. Database Structure
- **SQLite Database** (`restaurant.db`):
- `users` table: Stores admin and staff credentials.
- `menu` table: Stores menu items with name, price, and category (Food, Snack, Beverages).
- `orders` table: Stores customer orders, including table, items, total, and status.
- `tables` table: For future use (table management).
### 3. Admin Dashboard
- Add staff users.
- View staff list.
- Add menu items by category.
- View all menu items grouped by category.
- Access cashier tab.
### 4. Staff Dashboard
- View menu items.
- Access cashier tab.
### 5. Cashier Tab
- Add items to cart from menu.
- Select table and place customer orders.
- View cart summary and clear cart.
- View all placed orders.
- Print GST-compliant receipts for any order (includes company name, address, GSTIN, GST calculation).
### 6. Receipt Printing
- Receipts show company details, GSTIN, subtotal, GST (5%), total, and order details.
### 7. UI/UX
- Modern, clean interface with separate views for admin, staff, and cashier.
- All actions are performed via buttons and forms; no coding required for end users.
## How to Use
1. **Install dependencies**: `npm install`
2. **Start the app**: `npm start` or `electron .`
3. **Login**: Use admin credentials or staff credentials (added by admin).
4. **Manage staff and menu**: Use admin dashboard.
5. **Place orders and print receipts**: Use cashier tab.
## Next Steps / Suggestions
- Add edit/delete options for staff and menu items.
- Add table management and order status updates.
- Package the app as a Windows installer for easy deployment (use `electron-builder`).
- Add more detailed reporting and analytics.
---
This document summarizes all features and changes made so far for the Restaurant Management App.
# RestaurantManagment