Apps
apps/dashboard
The Aurea client dashboard — a Vite 6 + React Router 7 single-page application that queries the GraphQL API.
Overview
apps/dashboard is the private client-facing dashboard where Aurea clients track the progress
of their immigration or relocation cases.
- Port: 3001
- Package name:
apps/dashboard(scoped to the workspace)
Technology
| Concern | Library |
|---|---|
| Build tool | Vite 6 |
| Routing | React Router 7 |
| Language | TypeScript (strict) |
| Styling | Tailwind CSS 4 |
| UI components | @repo/ui |
| Data fetching | GraphQL → apps/api at port 4000 |
Data flow
The dashboard is a pure SPA: it fetches all data from the GraphQL API at
http://localhost:4000/graphql (or VITE_API_URL in production). It has no server-side
rendering — all routes are client-only.
Browser → Vite SPA (3001)
│
└─► GraphQL POST http://localhost:4000/graphqlKey environment variables
| Variable | Description |
|---|---|
VITE_API_URL | Base URL of apps/api (default http://localhost:4000) |
Scripts
bun run dev # vite --port 3001
bun run build # vite build
bun run lint # eslint