Ern Internal Docs

Monorepo Overview

Structure, shared commands, and deployment map

Repository structure

  • apps/tools-web: React SPA
  • apps/tools-api: Fastify API
  • apps/ernesto-bot: Telegram bot + Mastra
  • apps/cms: Payload CMS
  • apps/marketing: Next.js marketing site
  • packages/ui: Shared component library
  • packages/shared: Shared utilities
  • packages/tools/*: Shared types, SDK, and config

Common commands

bun install
bun run dev
bun run build
bun run check
bun run test

App-specific dev commands

bun run dev:tools-web
bun run dev:tools-api
bun run dev:ernesto
bun run dev:cms
bun run dev:marketing
bun run dev:docs

Deployment map

  • tools-api: Railway
  • ernesto-bot: Railway
  • cms: Railway
  • marketing: Vercel
  • docs (this app): Vercel on internal.ern.app (planned)

On this page