Workspaces
Booking Platform is a Moonrepo monorepo with 36 workspaces across apps/, packages/, integrations/, and tools/.
Overview
Apps (3)
| Workspace | Path | Core Tech |
|---|---|---|
| Website | apps/website | SolidJS + TanStack Start + oRPC + Drizzle |
| Admin | apps/admin | SolidJS + TanStack Start + oRPC + Drizzle |
| Mobile | apps/mobile | Capacitor |
Packages (24)
| Workspace | Path | Description |
|---|---|---|
| Packages Overview | packages/* | 24 shared packages for domain logic, infrastructure, and UI |
Integrations (6)
| Workspace | Path | Core Tech |
|---|---|---|
| Apple Business Connect | integrations/apple-business-connect | Zod + Apple Business Connect API |
| Claude App | integrations/claude-app | Claude Agent SDK + MCP SDK |
| ChatGPT App | integrations/chatgpt-app | MCP SDK + Codex Plugin |
| Google Maps Booking | integrations/google-maps-booking | Zod + jose + Google Maps Booking API |
| LINE LIFF | integrations/line-liff | SolidJS + Vite + LINE LIFF SDK |
| Integrations Shared | integrations/shared | MCP SDK + Zod |
Tools (2)
| Workspace | Path | Description |
|---|---|---|
| Health CLI | tools/health | Project health analysis with 60+ category analyzers |
| Analyze CLI | tools/analyze | AST-based deep analysis with ast-grep |
Docs (1)
| Workspace | Path | Core Tech |
|---|---|---|
| Docs | docs/ | VitePress + Vue 3 + UnoCSS |
Apps
Website (apps/website)
The main Booking Platform application built with SolidJS + TanStack Start. Contains 30+ feature modules covering bookings, payments, provider dashboard, chat, search, and admin panel.
Admin (apps/admin)
Separate admin dashboard built with SolidJS + TanStack Start. Provides platform operations, compliance, financial management, and feature flag controls with a command palette and data table system.
Mobile (apps/mobile)
iOS and Android mobile app built with Capacitor. Uses SPA build from the website workspace. Supports biometric auth, push notifications, and haptics.
Packages
The packages/ directory contains 24 shared packages that provide domain logic, infrastructure, and UI components consumed by the apps. See Packages Overview for details.
Integrations
Apple Business Connect (integrations/apple-business-connect)
Server-side API client for Apple Business Connect, enabling booking actions (book, reserve, waitlist) and business data synchronization.
Claude App (integrations/claude-app)
MCP server for Claude AI integration via Claude Agent SDK.
ChatGPT App (integrations/chatgpt-app)
MCP server for ChatGPT integration via Codex Plugin format.
Google Maps Booking (integrations/google-maps-booking)
Server-side API client for Google Maps Booking, enabling merchant/service feed management and booking server callbacks. Uses Google service account JWT auth via jose.
LINE LIFF (integrations/line-liff)
LINE LIFF web app running inside LINE in-app browser, built with SolidJS + Vite.
Integrations Shared (integrations/shared)
Shared utilities package for all integration workspaces. Exports MCP tool definitions and client utilities.
Tools
Health CLI (tools/health)
Project health analysis CLI (@booking/tools-health) covering 60+ categories across 5 domains: User-Facing, Security & Compliance, Backend & Data, Infrastructure, and Code & Architecture. Uses Clean Architecture with 4 layers.
Analyze CLI (tools/analyze)
AST-based deep analysis CLI (@booking/tools-analyze) using @ast-grep/napi. Scans source files and reports structural findings across 5 domains: Structure, Complexity, Patterns, Dependencies, and Dead Code. Uses Clean Architecture with 4 layers.
Monorepo Structure
booking-platform/
├── apps/
│ ├── website/ # Main web app
│ ├── admin/ # Admin dashboard
│ └── mobile/ # Mobile app
├── packages/ # 24 shared packages
├── integrations/
│ ├── apple-business-connect/
│ ├── claude-app/
│ ├── chatgpt-app/
│ ├── google-maps-booking/
│ ├── line-liff/
│ └── shared/
├── tools/
│ ├── analyze/ # AST analysis CLI
│ └── health/ # Health analysis CLI
├── docs/ # Documentation site
├── rules/ # ast-grep rules
├── scripts/ # Quality reporting scripts
├── .moon/workspace.yml # Moonrepo config
├── biome.jsonc # Biome linter/formatter config
├── lefthook.yml # Git hooks config
├── knip.json # Unused code detection config
└── package.json # Root workspace configMoonrepo Commands
# Run all workspaces
bun run dev # Start all dev servers
bun run build # Build all workspaces
bun run lint # Lint all workspaces
bun run typecheck # Typecheck all workspaces
bun run test # Run tests in all workspaces
bun run verify # typecheck + test + e2e
# Run specific workspace
moon run apps-website:dev
moon run apps-admin:dev
moon run docs:dev
moon run integrations-claude-app:buildprevious: Features