mirror of
https://git.meshkee.com/Meshkee/dashboards.git
synced 2026-08-11 22:30:58 +04:30
Initial commit: Meshkee dashboards monorepo.
Includes business, customer, and super-admin apps with shared packages and production deploy scripts. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,67 @@
|
||||
# MeshkeeApp Monorepo
|
||||
|
||||
Dashboard applications and shared packages for the Meshkee platform.
|
||||
|
||||
**Agent context:** see [docs/PROJECT_CONTEXT.md](./docs/PROJECT_CONTEXT.md) and `.cursor/rules/`.
|
||||
|
||||
## Structure
|
||||
|
||||
```
|
||||
MeshkeeApp/
|
||||
apps/
|
||||
super-admin/ # port 5174 — meshkee.app
|
||||
business/ # port 5173 — business.{domain}
|
||||
customer/ # port 5175 — customer.{domain}
|
||||
packages/
|
||||
dashboard-core/ # @meshkee/dashboard-core
|
||||
dashboard-ui/ # @meshkee/dashboard-ui
|
||||
```
|
||||
|
||||
## Setup
|
||||
|
||||
```bash
|
||||
cd MeshkeeApp
|
||||
npm install
|
||||
```
|
||||
|
||||
## Dev servers
|
||||
|
||||
From the monorepo root:
|
||||
|
||||
```bash
|
||||
npm run dev:customer # http://customer.sanihome.ir:5175
|
||||
npm run dev:business # http://business.sanihome.ir:5173
|
||||
npm run dev:super-admin # https://meshkee.app:5174
|
||||
```
|
||||
|
||||
Or from an app directory:
|
||||
|
||||
```bash
|
||||
cd apps/customer && npm run dev
|
||||
```
|
||||
|
||||
## Build
|
||||
|
||||
```bash
|
||||
npm run build # packages + all apps
|
||||
npm run build:customer
|
||||
npm run build:business
|
||||
npm run build:super-admin
|
||||
```
|
||||
|
||||
## Shared packages
|
||||
|
||||
See [packages/README.md](./packages/README.md).
|
||||
|
||||
- **dashboard-core** — API client, auth types, utils, design tokens
|
||||
- **dashboard-ui** — Breadcrumbs, SectionCard, Pagination, Toast, RouteLoader, DomainGuard
|
||||
|
||||
Customer dashboard uses both packages. Business and Super Admin will migrate incrementally.
|
||||
|
||||
## Local hosts
|
||||
|
||||
```
|
||||
127.0.0.1 customer.sanihome.ir
|
||||
127.0.0.1 business.sanihome.ir
|
||||
127.0.0.1 meshkee.app
|
||||
```
|
||||
Reference in New Issue
Block a user