30 lines
696 B
Markdown
30 lines
696 B
Markdown
|
|
# Meezi Dashboard
|
||
|
|
|
||
|
|
Next.js 14 POS dashboard for Meezi (میزی).
|
||
|
|
|
||
|
|
## Setup
|
||
|
|
|
||
|
|
```bash
|
||
|
|
cd web/dashboard
|
||
|
|
npm install
|
||
|
|
cp .env.example .env.local
|
||
|
|
npm run dev
|
||
|
|
```
|
||
|
|
|
||
|
|
Open [http://localhost:3000/fa/login](http://localhost:3000/fa/login)
|
||
|
|
|
||
|
|
Ensure the API is running at `NEXT_PUBLIC_API_URL` (default `https://localhost:7208`).
|
||
|
|
|
||
|
|
## Demo login
|
||
|
|
|
||
|
|
- Phone: `09121234567`
|
||
|
|
- OTP: check API console log (`DEV OTP for ...`) when Kavenegar is not configured
|
||
|
|
|
||
|
|
## Features (Sprint 4)
|
||
|
|
|
||
|
|
- i18n: `fa` (default, RTL), `ar` (RTL), `en` (LTR)
|
||
|
|
- Dashboard layout with RTL-aware sidebar
|
||
|
|
- POS screen: menu grid + cart + order submit
|
||
|
|
- KDS screen: live orders + SignalR + status advance
|
||
|
|
- Placeholder pages for upcoming modules
|