openshiporg/openfront-restaurant
소개
Open source Toast alternative built on Next.js and Keystone.js
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- +5
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalOpenfront Restaurant is a specialized version of the Openfront platform designed specifically for the food and beverage industry. It provides a complete suite of tools for restaurant management, including Point of Sale (POS), Kitchen Display Systems (KDS), table management, menu engineering, and waitlist handling.
Documentation: docs.openship.org/docs/openfront/restaurant
Demo
https://github.com/user-attachments/assets/e3a061fb-3c03-4b89-81f0-4aa973c26556
| Storefront | restaurant.openship.org |
| Dashboard | restaurant.openship.org/dashboard |
| User | [email protected] |
| Password | xZZ8nqW&!KT1^S6b45c^gwmv51Y50y!y@a* |
The Openfront Ecosystem
Every Openfront is open source and self-hostable. Try any of them on its live demo.
| Product | For | Repository | Demo | Docs |
|---|---|---|---|---|
| Openfront E-commerce | Online store: catalog, checkout, orders, fulfillment | openfront | e-commerce.openship.org | Docs |
| Openfront Restaurant (this repository) | Online ordering, POS and kitchen display | openfront-restaurant | restaurant.openship.org | Docs |
| Openfront Grocery | Grocery ordering, lots, expiry and pickup | openfront-grocery | grocery.openship.org | Docs |
| Openfront Gym | Memberships, classes, check-in and billing | openfront-gym | gym.openship.org | Docs |
| Openfront Hotel | Reservations, front desk, housekeeping, folios | openfront-hotel | hotel.openship.org | Docs |
| Openfront Rental | Short-term rental bookings and calendars | openfront-rental | rental.openship.org | Docs |
| Openfront Salon | Appointments, stylists and services | openfront-salon | salon.openship.org | Docs |
| Openfront Barbershop | Bookings, walk-ins and barbers | openfront-barbershop | barbershop.openship.org | Docs |
| Openfront Coffee Shop | Café ordering and counter POS | openfront-coffeeshop | coffee-shop.openship.org | Docs |
| Openfront Real Estate | Listings, showings and transactions | openfront-realestate | real-estate.openship.org | Docs |
| Openfront Dealership | Inventory, test drives, deals and service | openfront-dealership | dealership.openship.org | Docs |
| Openfront Vape | Age-gated retail with compliance controls | openfront-vape | vape.openship.org | Docs |
| Openfront Convenience | Convenience store POS and inventory | openfront-convenience | convenience.openship.org | Docs |
| Openfront Collectibles | Graded items, consignment and provenance | openfront-collectibles | collectibles.openship.org | Docs |
| Openfront Cannabis | Dispensary menu, packages and recalls | openfront-cannabis | cannabis.openship.org | Docs |
| Openfront Pharmacy | Prescriptions, inventory lots and pickup | openfront-pharmacy | pharmacy.openship.org | Docs |
| Openfront Med Spa | Treatments, consents and memberships | openfront-medspa | medspa.openship.org | Docs |
| Openfront Construction | Projects, bids, change orders and crews | openfront-construction | construction.openship.org | Docs |
| Openfront Law Firm | Matters, intake, time and billing | openfront-law-firm | law-firm.openship.org | Docs |
| Openfront Scheduling | Booking pages for appointment businesses | openfront-scheduling | scheduling.openship.org | Docs |
| Openfront Social | Creator community and posts | openfront-social | social.openship.org | Docs |
| Openfront Rideshare | Rides, drivers and dispatch | openfront-rideshare | rideshare.openship.org | Docs |
| Openfront Airline | Flights, booking and passenger operations | openfront-airline | airline.openship.org | Docs |
| Openfront Hospital | Appointments, patients and care teams | openfront-hospital | hospital.openship.org | Docs |
| Openfront Sportsbook | Markets, bets and results | openfront-sportsbook | sportsbook.openship.org | Docs |
| Openfront Financial | Accounts, portfolios and advisory | openfront-financial | financial.openship.org | Docs |
| Openfront Analytics | Privacy-friendly website analytics | analytics | analytics.openship.org | Docs |
| Openship | Order routing from sales channels to fulfillment | openship | os.openship.org | Docs |
| Marketplace | Shop across Openfront stores | marketplace | marketplace.openship.org | Docs |
Core Features
Point of Sale (POS)
A modern, touch-optimized POS interface for staff to take orders, manage tables, and process payments. Supports complex modifications, split checks, and real-time synchronization with the kitchen.
Kitchen Display System (KDS)
Streamline your back-of-house operations with a digital KDS. Orders from the POS appear instantly, allowing chefs to manage preparation times, mark items as ready, and coordinate with the front-of-house.
Table & Seating Management
Visualize your floor plan and manage guest seating in real-time. Track table status (Available, Occupied, Dirty, Reserved) and optimize your restaurant's capacity.
Menu Engineering
Manage complex menus with categories, products, variants, and modifiers. Set up happy hours, seasonal specials, and digital menus that update across all devices instantly.
Waitlist & Reservations
Integrated waitlist management with SMS notifications. Allow guests to join the waitlist remotely or at the door, and manage reservations to ensure smooth service.
AI Assistant
Streamline your restaurant operations with our MCP-powered AI Assistant.
- Menu Management: Add new menu items or update prices via natural language.
- Operational Efficiency: Mark items out-of-stock or update table status through chat.
- Permission Safe: The AI respects your user role's permissions, calling the same API as the POS and Dashboard.
Architecture
Technology Stack
- Frontend: Next.js 15 with App Router
- Backend: KeystoneJS 6 with GraphQL API
- Database: PostgreSQL with Prisma ORM
- Styling: Tailwind CSS 4 with shadcn/ui components
- Real-time: GraphQL Subscriptions & SWR for live updates
Application Structure
openfront-restaurant/
├── app/ # Next.js App Router
│ ├── dashboard/ # Admin platform interface
│ ├── pos/ # Point of Sale interface
│ ├── kds/ # Kitchen Display System
│ └── api/ # API endpoints and webhooks
├── features/
│ ├── keystone/ # Backend models and GraphQL schema
│ ├── platform/ # Admin platform components
│ ├── pos/ # POS-specific components
│ └── kds/ # KDS-specific components
└── components/ # Shared UI components
Getting Started
Prerequisites
- Node.js 20+
- PostgreSQL database
- npm, yarn, pnpm, or bun
Setup
Clone and install dependencies:
git clone https://github.com/openshiporg/openfront-restaurant.git cd openfront-restaurant npm installConfigure environment variables:
cp .env.example .envUpdate
.envwith your configuration:# Required - Database Connection DATABASE_URL="postgresql://username:password@localhost:5432/openfront_restaurant" # Required - Session Security SESSION_SECRET="your-very-long-session-secret-key-here-32-chars-minimum" # Optional - S3 Storage for Food Images S3_BUCKET_NAME="your-bucket-name" S3_REGION="us-east-1" S3_ACCESS_KEY_ID="your-access-key" S3_SECRET_ACCESS_KEY="your-secret-key"Start development server:
npm run devAccess the application:
- Dashboard: http://localhost:3000/dashboard
- POS: http://localhost:3000/pos
- KDS: http://localhost:3000/kds
Security & Permissions
Role-Based Access Control
canManageMenu- Edit products and pricescanAccessPOS- Access the ordering interfacecanAccessKDS- Access kitchen prep viewcanManageWaitlist- Manage guest flowcanViewReports- Financial and operational analytics
Documentation
For comprehensive technical documentation, see docs.openship.org/docs/openfront/restaurant
License
This project is licensed under the MIT License - see the LICENSE file for details.
Built on top of next-keystone-starter
No background loops
Nothing in this app runs on a timer on the server (no instrumentation.ts, cron, worker or outbox). Time-based state advances on the request that touches it: due order-ahead orders are released to the kitchen whenever the KDS loads or polls and by the staff Refresh button on the KDS. Customer email goes out only from the checkout/status action that triggers it. External events go through Openfront Commerce webhooks.
관련 프로젝트 살펴보기
불러오는 중…