Bun-native framework
ShipBetterAuth-powered serviceswithout 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
Documentation
Choose your next stop
Deep dive overview
Philosophy, installation strategies, and advanced techniques in one place.
Getting Started
Install the CLI, scaffold a service, and run the curated examples.
Installation guide
Mix and match @nl-framework packages or clone the monorepo.
CLI reference
Command matrix, generators, diagnostics, and script shorthands.