
Everything you need to run your restaurant
RestAI is a comprehensive multi-tenant restaurant management platform that combines powerful backend APIs with an intuitive web dashboard. Built for speed and scalability using Bun, Hono, Next.js, and PostgreSQL.Quick Start
Get up and running in under 5 minutes with our streamlined setup guide
Installation
Detailed installation instructions for local development and production
API Reference
Explore all endpoints, authentication, and WebSocket connections
Architecture
Learn about the monorepo structure and tech stack
Key Features
Multi-Tenant
Complete organization and branch isolation with role-based access control
Real-Time Orders
WebSocket-powered live updates for kitchen displays and order tracking
QR Code Tables
Customers scan QR codes to browse menus and place orders from their table
POS System
Full point-of-sale for dine-in, takeout, and delivery orders
Menu Management
Categories, items, modifiers, and pricing with image support
Kitchen Display
Kanban-style order board for kitchen staff with real-time updates
Inventory Control
Track stock levels, receive alerts, and manage suppliers
Customer Loyalty
Points, rewards, and coupon management to retain customers
Reports & Analytics
Sales reports, performance metrics, and business insights
Technology Stack
RestAI leverages cutting-edge technologies for performance and developer experience:Runtime & Build Tools
Runtime & Build Tools
- Bun - Ultra-fast JavaScript runtime and package manager
- Turborepo - High-performance monorepo build system
- Bun Workspaces - Efficient dependency management across packages
Backend
Backend
- Hono - Lightweight, blazing-fast web framework
- Drizzle ORM - Type-safe SQL toolkit with PostgreSQL
- WebSockets - Native Bun WebSocket for real-time features
- Redis - Session management and caching
- JWT - Secure authentication with refresh tokens
Frontend
Frontend
- Next.js 16 - React framework with App Router
- TailwindCSS v4 - Utility-first CSS framework
- shadcn/ui - Beautiful, accessible component library
- React Query - Powerful data fetching and caching
- Zustand - Lightweight state management
Database & Storage
Database & Storage
- PostgreSQL 17 - Robust relational database
- Redis 7 - In-memory data store for caching
- Cloudflare R2 - S3-compatible object storage for images
Monorepo Structure
RestAI uses a well-organized monorepo architecture:The monorepo structure enables code sharing across frontend and backend while maintaining clear boundaries.
Customer Flow
RestAI provides a seamless customer experience:Quick Links
Get Started Now
Follow the quickstart guide to run RestAI locally in minutes
View on GitHub
Star the project and contribute to the open-source community
