68365457a1ae878f428b9083fc59b2aac407c9d4
Prevent stale /auth/me from wiping a fresh session, unblock login submit, allow localhost HMR, and drop the tile "مشاهده" CTA. Co-authored-by: Cursor <cursoragent@cursor.com>
Mana Collection — Dashboards
Shared Next.js app for store admin and customer account UI.
Local domains
# once (needs admin password)
../scripts/setup-hosts.sh
| URL | App |
|---|---|
| http://mana-collection.com:3000 | Website (coming soon) |
| http://store.mana-collection.com:3001 | Store dashboard |
| http://customer.mana-collection.com:3001 | Customer (same app) |
| http://api.mana-collection.com:3002/api/v1 | Backend API |
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.
Languages
TypeScript
92%
CSS
7.9%
JavaScript
0.1%