Documentation

Resources

Official documentation for the technologies in your Nestled stack. If you're new to any of these, start with the ones marked as essential — they'll have the most impact on your day-to-day workflow.


Schema and database

Prisma

Your Prisma schema is the single source of truth for your entire application. Everything Nestled generates — the API, the types, the SDK — comes from this file. Time spent learning Prisma's data modeling pays off more than anything else.

Start here

If you only read one external doc, make it the Prisma schema reference. Your schema drives everything in Nestled — the better you understand Prisma's data modeling, the less code you'll write.

PostgreSQL

Nestled uses PostgreSQL as its database. You rarely interact with it directly (Prisma handles that), but understanding its capabilities helps you design better schemas.


API

NestJS

The API is built on NestJS — a TypeScript framework for building server-side applications with modules, dependency injection, and decorators. Your custom resolvers, services, and middleware all use NestJS patterns.

  • NestJS documentation — Modules, providers, guards, interceptors, and middleware
  • GraphQL with NestJS — How NestJS integrates with Apollo Server
  • Guards — How auth guards work (used throughout Nestled's CRUD and custom resolvers)

GraphQL

Nestled generates a GraphQL API, and your custom resolvers extend it. Understanding GraphQL helps you write efficient queries and design your custom API surface.


Frontend

React Router 7

The web application uses React Router 7 in framework mode — with server-side rendering, file-based routing, loaders, and actions. Routes and layouts all follow React Router conventions.

Apollo Client

Server state (GraphQL data) is managed with Apollo Client. The generated SDK gives you typed queries and mutations — Apollo Client handles caching, loading states, and refetching.

Tailwind CSS

All styling uses Tailwind CSS 4 with utility classes. The shared styles library provides the base configuration.


Infrastructure

Nx

The monorepo is managed by Nx, which handles project structure, task running, caching, and dependency graphs. You use Nx commands to serve, build, and test your applications.

Docker

Development services (PostgreSQL, Redis, Mailhog) run in Docker containers. Production builds use a multi-stage Dockerfile.


Integrations

Stripe

Subscription billing uses Stripe. The template includes checkout, webhooks, and subscription management — but you'll need to understand Stripe's concepts to customize your billing flow.

Passport

Authentication uses Passport with JWT strategy. The template handles this for you, but understanding Passport helps if you need to add custom auth strategies (like additional OAuth providers).

Previous
Deployment
Resources - Nestled