A modern, responsive internal dashboard for restaurant management built with Next.js
See live demo with seed data on https://demo.toite.ee/. Use Credentials:
- Username:
admin - Password:
123456
All data are shared across everyone but don't worry, I will integrate something better in future.
- Restaurant Management - Create and manage multiple restaurants with customizable settings
- Worker/Staff Management - Handle employees, roles, and permissions
- Order Management - Real-time order processing with WebSocket support
- Menu & Dish Management - Flexible menu system with categories, modifiers, and pricing
- Guest Management - Track and manage customer information
- Workshift Management - Schedule and track employee shifts and payments
- Discount System - Configurable discounts and promotions
- Multi-language Support - Internationalization (i18n) ready
- File Storage - S3-compatible file uploads and management
- Node.js 16.0.0 or higher
- Yarn 1.19.1 or higher
- Clone the repository:
git clone https://github.com/Toite-app/internal-frontend.git
cd internal-frontend- Install dependencies:
yarn install- Set up environment variables:
cp .env.example .env.local- Start the development server:
yarn devThe application will be available at http://localhost:3035
| Variable | Description | Default |
|---|---|---|
NEXT_PUBLIC_API_URL |
Backend API URL | http://localhost:6701 |
NEXT_PUBLIC_SOCKET_URL |
WebSocket connection path | /api |
Create a .env.local file in the root directory with your configuration:
NEXT_PUBLIC_API_URL=http://localhost:6701
NEXT_PUBLIC_SOCKET_URL=/apidocker build -t toite-internal-frontend .docker run -p 3035:3035 \
-e NEXT_PUBLIC_API_URL=http://your-backend-url:6701 \
-e NEXT_PUBLIC_SOCKET_URL=/api \
toite-internal-frontendNote: Environment variables prefixed with
NEXT_PUBLIC_are embedded at build time in Next.js. If you need different values for production, you should set them as build arguments:
docker build \
--build-arg NEXT_PUBLIC_API_URL=https://api.yourdomain.com \
--build-arg NEXT_PUBLIC_SOCKET_URL=/api \
-t toite-internal-frontend .| Command | Description |
|---|---|
yarn dev |
Start development server on port 3035 |
yarn build |
Build for production |
yarn start |
Start production server |
yarn lint |
Run ESLint |
This project is licensed under the MIT License - see the LICENSE file for details.