A complete restaurant management system built with Next.js, featuring POS, order management, customer management, and analytics. Designed to work offline with local or cloud MongoDB storage.
✨ Point of Sale (POS) System
- Modern touch-friendly interface
- Real-time cart management
- Multiple payment methods
- Order type selection (dine-in, takeaway, delivery)
📋 Order Management
- Live order tracking
- Status updates (pending, preparing, ready, served)
- Date range filtering
- Order history with search
👥 Customer Management
- Customer database with contact information
- Order history tracking
- Total spent analytics
- Search and filter customers
🍽️ Menu Management
- Category-based organization
- Item availability toggle
- Price management
- Preparation time tracking
- Tags and descriptions
📊 Dashboard & Analytics
- Daily sales overview
- Order statistics
- Customer insights
- Revenue tracking
📈 Reports & Analytics
- Date range sales reports
- Top selling items analysis
- Daily sales breakdown
- Payment method analytics
- Order type distribution
- Export functionality
🏪 Offline Functionality
- Local MongoDB storage
- Works without internet connection
- PWA ready for desktop installation
- Frontend: Next.js 15, React 19, Tailwind CSS
- UI Components: Shadcn UI
- Database: MongoDB (local)
- Icons: Lucide React
- Styling: Tailwind CSS
- Install dependencies
pnpm install-
Start MongoDB (make sure it's running on localhost:27017)
-
Start the development server
pnpm dev-
Open your browser Navigate to http://localhost:3000
-
Set up sample data On first visit, you'll be redirected to the setup page. Click "Setup Sample Data" to populate your database with sample menu items, categories, and customers.
- Navigate to
/dashboard/pos - Add items to cart
- Enter customer details
- Process payment and create order
- View and manage orders at
/dashboard/orders - Update order status as items are prepared
- Filter by date and status
- Manage customer database at
/dashboard/customers - Track order history and spending
- Configure menu items and categories at
/dashboard/menu - Toggle item availability
- Set prices and preparation times
Built with Pakistani Restaurant owners in mind - all prices in Pakistani Rupees (PKR).