Bun-native framework

Ship
BetterAuth-powered services
without leaving Bun

NL Framework pairs NestJS-like ergonomics with Bun performance. This documentation hub keeps your team oriented— from first scaffold to multi-tenant production rollouts.

Runtime

Bun 1.1+

Native ESM

Auth

BetterAuth

Single + multi-tenant

Transports

HTTP · GraphQL · Dapr

Shared DI context

Databases

ORM agnostic

Works with Prisma/Drizzle

What we support

End-to-end scaffolding so teams can wire BetterAuth, GraphQL, schedulers, and microservices with the same ergonomics.

BetterAuth
Proxy hosted routes, wire multi-tenant guards, and sync sessions across transports.
  • Proxy module
  • GraphQL guard
  • Tenant registry
GraphQL & Federation
Spin up subgraphs, gateways, and persisted queries from the same NaelFactory instance.
  • Apollo subgraph
  • Federation gateway
  • Persisted queries
Microservices & Scheduler
Dapr pub/sub, Bun Worker cron jobs, and queue consumers powered by decorators.
  • Dapr subscribers
  • Cron/Interval/Timeout
  • Worker isolation
Tooling
`nl` CLI, workspace scripts, and generator commands that mirror NestJS ergonomics.
  • nl new
  • nl doctor
  • Generators