A B2B healthcare dashboard built with Next.js 14 and micro-frontend architecture.
- Framework: Next.js 14 (App Router)
- State: Zustand + Persistence
- Auth: Firebase
- Architecture: Micro-frontends (Turborepo)
- Styling: Tailwind CSS + Framer Motion
- Tooling: pnpm + TypeScript
├── apps/
│ ├── shell (Host application)
│ ├── auth (Authentication service)
│ ├── patients (Patient records & management)
│ └── analytics (Data visualizations)
└── packages/
├── types (Shared TS definitions)
├── store (Centralized Zustand stores)
├── hooks (Shared React hooks)
├── ui (Shared component library)
└── utils (Common helpers & services)
pnpm installCreate a .env.local file based on .env.example and fill in your Firebase credentials.
Run all applications in parallel:
pnpm devOr run a specific application (e.g., shell):
pnpm --filter shell devpnpm dev: Start all apps in development modepnpm build: Build all apps for productionpnpm type-check: Run TypeScript validation across the workspacepnpm lint: Run ESLint across the workspace
Each app in apps/ can be deployed independently to Vercel. Ensure NEXT_PUBLIC_*_URL environment variables are configured in each project to point to the respective remote URLs.