For the complete documentation index, see llms-docs.txt or the site index llms.txt. Full docs corpus: llms-full-docs.txt. Prefer the markdown version of this page at /docs/setup/overview.md. Product capabilities: skill.md. Docs MCP: /docs/mcp. Site MCP: /mcp.
Overview
Monorepo layout and technology stack.
Reloop is a Bun monorepo with Next.js frontends, ElysiaJS microservices, shared packages, and Docker infrastructure.
Local URL: https://local.reloop.sh. Bootstrap with bun setup.
Structure
reloop/
├── apps/
│ ├── backend/ # ElysiaJS APIs + KumoMTA (smtp, inbound)
│ └── frontend/ # web, dashboard, docs, links, console
├── packages/ # @reloop/ui, @reloop/db, @reloop/bus, …
└── local/ # Docker Compose, Caddy, TLS, bun setup
| Path | Role |
|---|---|
apps/frontend/* | Product UI and docs sites |
apps/backend/* | HTTP APIs and mail edge |
packages/* | Shared libraries |
local/ | Compose stack, Caddy, bun setup |
Frontend apps
Web
Marketing site (port 3000)
Dashboard
Product UI (port 3001)
Docs
This documentation (port 3003)
Links
Preferences and redirects (port 3005)
Stack: Next.js, Tailwind CSS, Radix UI via @reloop/ui, SWR.
Backend services
Auth
Sessions and orgs (8000)
Domain
Sending domains (8011)
API Key
API keys (8012)
Webhook
Event delivery (8013)
Contacts
Audience (8014)
Send API (8015)
Logs
Analytics (8016)
Workflow
Automations (8017)
Upload
Attachments (8018)
Template
Templates (8019)
Campaigns
Broadcasts (8027)
Inbox
Inbound mail (8028)
Platform email (8022)
Credits
Usage / billing (8023)
SMTP
Outbound edge (Docker)
Inbound
MX edge (Docker)
Stack: ElysiaJS, Better Auth, KumoMTA for smtp/inbound.
Data & infrastructure
Started by bun docker:up (Postgres, Redis, Caddy, Mailpit, MinIO, NATS, spam, SMTP, inbound).
PostgreSQL
Primary DB (port 5432)
Drizzle ORM
Schema in @reloop/db
Redis
Sessions and cache (6379)
MinIO
Object storage (9010 / console 9001)
NATS
Event bus (4222)
Caddy
TLS proxy for local.reloop.sh
Mailpit
Captured mail UI (8025)
Tooling
Bun
Runtime and package manager
Turborepo
Task runner and build cache
Docker
Local infra via local/docker-compose.yml
Biome
Lint and format
Shared packages
| Package | Purpose |
|---|---|
@reloop/ui | Design system and components |
@reloop/db | Drizzle schema and Postgres client |
@reloop/auth | Shared auth client utilities |
@reloop/bus | NATS messaging wrapper |
@reloop/cache | Redis caching helpers |
@reloop/apikey | API key hashing and verification |
@reloop/webhook-events | Webhook event types |
@reloop/tailwind | Shared Tailwind config |
@reloop/tsconfig | Shared TypeScript config |
Next
Was this page helpful?