Skip to content

Workspaces

Booking Platform is a Moonrepo monorepo with 36 workspaces across apps/, packages/, integrations/, and tools/.

Overview

Apps (3)

WorkspacePathCore Tech
Websiteapps/websiteSolidJS + TanStack Start + oRPC + Drizzle
Adminapps/adminSolidJS + TanStack Start + oRPC + Drizzle
Mobileapps/mobileCapacitor

Packages (24)

WorkspacePathDescription
Packages Overviewpackages/*24 shared packages for domain logic, infrastructure, and UI

Integrations (6)

WorkspacePathCore Tech
Apple Business Connectintegrations/apple-business-connectZod + Apple Business Connect API
Claude Appintegrations/claude-appClaude Agent SDK + MCP SDK
ChatGPT Appintegrations/chatgpt-appMCP SDK + Codex Plugin
Google Maps Bookingintegrations/google-maps-bookingZod + jose + Google Maps Booking API
LINE LIFFintegrations/line-liffSolidJS + Vite + LINE LIFF SDK
Integrations Sharedintegrations/sharedMCP SDK + Zod

Tools (2)

WorkspacePathDescription
Health CLItools/healthProject health analysis with 60+ category analyzers
Analyze CLItools/analyzeAST-based deep analysis with ast-grep

Docs (1)

WorkspacePathCore Tech
Docsdocs/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 config

Moonrepo Commands

bash
# 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:build

previous: Features

Released under the MIT License.