kl-nest new

The Next Level for Your NestJS APIs.

The shadcn/ui experience, built natively for NestJS. Powered by DDD and TypeORM. Copy modules into your repo — no opaque dependencies.

What is Koala Nest?

A facilitator for NestJS APIs with DDD — modules copied into your project, not hidden behind a black-box library.

Copy, Don't Install

Like shadcn/ui for backends — the CLI copies modules into your repo. You own the code and adapt freely.

DDD by Default

Projects ship with clear layers: domain, application, host, and infra. Handlers, validators, and repositories follow the same patterns.

TypeORM + PostgreSQL

Env validation with Zod, migrations, repository contracts, and TypeORM implementations — ready on day one.

OpenAPI Built In

Every generated project exposes interactive docs at /doc via Scalar (OpenAPI generated with @nestjs/swagger).

Powerful CLI

Create a new API project in seconds. Pick a template and get DDD structure, TypeORM, OpenAPI, and validation in your repository.
bash
kl-nest new

Smart Scaffolding

Interactive flow for project name, package manager (Bun recommended), template, auth (JWT/OAuth2), and extras (cache, health, cron, events). API Key coming soon.

Useful Templates

Start from a clean DDD structure or the Person CRUD example — a full reference module across every layer.

Developer Friendly

Run with npx or install globally. Clear commands, versioning, and a codebase you can read and maintain.

AI Ready

Documentation optimized for AI-assisted development — index and per-page context without duplicating content.

Direct Links for LLMs

Use Copy AI docs index in the header to share llms.txt with your assistant and map the full documentation.

Page-Level Context

Use Copy for AI on each doc page to send the focused Markdown URL (markdown/en/.../*.md) for that topic.

Koala Nest

A facilitator for building NestJS APIs with DDD architecture. Code copied into your repository — readable, adaptable, and under your control.

Creator

igordrangel.com.br

Design, back-end, and product strategy.

Quick Commands

Global CLI and scripts in the generated project

  • bun install -g @koalarx/nest
  • kl-nest new
  • kl-nest add cache
  • bun run migration:run # CRUD template
  • kl-nest --help
© 2026 Koala NestBuilt for NestJS developers and AI-assisted workflows.