Initial commit: Mana Collection dashboards (Next.js).

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-09-07 20:50:24 +03:30
co-authored by Cursor
commit 18b29f5b62
95 changed files with 16414 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
# Mana Collection — Dashboards
Shared Next.js app for **store admin** and **customer** account UI.
## Local domains
```bash
# once (needs admin password)
../scripts/setup-hosts.sh
```
| URL | App |
|-----|-----|
| http://store.mana-collection.com:3000 | Store dashboard |
| http://customer.mana-collection.com:3000 | Customer (same app) |
| http://api.mana-collection.com:3002/api/v1 | Backend API |
```bash
cp .env.example .env.local
npm install
npm run dev
```
API: `NEXT_PUBLIC_API_URL` → `http://api.mana-collection.com:3002/api/v1`
Store staff login: phone + password or OTP. Customer registration uses OTP; store panel requires `STORE_ADMIN` / `SUPER_ADMIN`.