Pirate & Fox
Est. 1999

NestledJS

A schema-first starter for full-stack product teams.

CLI quickstart
NestledJSSchema-driven full-stack apps
01git clone nestled-template my-app
02nx g @nestledjs/generators:workspace-setup --name my-app
03pnpm db-update
04pnpm prisma db push
05nx serve api && nx serve web
A full-stack starter and generator system that turns a Prisma schema into a working NestJS, GraphQL, and React application.
01

The pitch

Most starter kits save you a weekend and then leave. The first auth flow works, the first dashboard loads, and then the real product begins -- new models, new permissions, new queries, new admin screens, all hand-wired again.

NestledJS treats the Prisma schema as the center of the application. Change the schema, run one command, and the API resolvers, GraphQL models, generated CRUD, custom module shells, and typed frontend SDK move with it. Nestled helps keep the boring parts synchronized so the real product code has somewhere clean to live.

"Nestled helps keep the boring parts synchronized."
02

The work

Generator pipeline
01Prisma schema
02db-update
03NestJS GraphQL
04Typed SDK
05React app
The `db-update` workflow runs the repeatable chain -- CRUD resolvers, GraphQL models, custom module shells, and the typed SDK -- from the Prisma schema.
Custom code boundary
Overwrittengenerated-crud__admin sdkcore models
schema boundary
Preservedcustom modulesuser graphqlplugins
Generated folders are overwritten every time. Custom API modules and user-facing SDK operations are created once, then left alone for product logic.
03

The build

NestledJS is an Nx plugin workspace backed by starter templates instead of a black-box framework. The generators read Prisma through DMMF, emit NestJS GraphQL modules, preserve handwritten code, and keep Apollo operations typed on the frontend. It generates the pieces that are easy to forget and expensive to maintain by hand, while leaving product behavior in ordinary services, resolvers, and GraphQL operations.

NxPlugin packages, affected builds, and generator boundaries in one workspace.
PrismaThe schema is the source of truth for models, CRUD, auth comments, and SDK output.
NestJS + GraphQLGenerated resolvers cover the admin surface; custom modules hold product behavior.
React Router 7The web starter uses framework mode with typed Apollo operations.
Apollo ClientGraphQL Code Generator keeps frontend queries aligned with the API.
DockerWorkspace setup starts Postgres, Redis, Mailhog, migrations, and seed data.
04

Field notes

Generators25
Update command1
Starter setup5 min
05

Learn more

Ready to talk?Start a project