# NestJS

## Recipes

### Host REST API with NestJS
- [Postgres-backed state](/recipes/rest-api/nestjs/persistent-state)
- [Stored input and output artifacts](/recipes/rest-api/nestjs/artifact-storage)
- [Streamed responses](/recipes/rest-api/nestjs/response-streaming)
- [Worker execution and job state](/recipes/rest-api/nestjs/worker-state)

### Host GraphQL API with NestJS
- [Postgres-backed state](/recipes/graphql-api/nestjs/persistent-state)
- [Stored input and output artifacts](/recipes/graphql-api/nestjs/artifact-storage)
- [Streamed responses](/recipes/graphql-api/nestjs/response-streaming)
- [Worker execution and job state](/recipes/graphql-api/nestjs/worker-state)

### Host Mobile Backend with NestJS
- [Postgres-backed state](/recipes/mobile-backend/nestjs/persistent-state)
- [Stored input and output artifacts](/recipes/mobile-backend/nestjs/artifact-storage)
- [Streamed responses](/recipes/mobile-backend/nestjs/response-streaming)
- [Worker execution and job state](/recipes/mobile-backend/nestjs/worker-state)

### Host MCP Server with NestJS
- [Postgres-backed state](/recipes/mcp-server/nestjs/persistent-state)
- [Stored input and output artifacts](/recipes/mcp-server/nestjs/artifact-storage)
- [Streamed responses](/recipes/mcp-server/nestjs/response-streaming)
- [Worker execution and job state](/recipes/mcp-server/nestjs/worker-state)

### Host AI Chat Application with NestJS
- [Postgres-backed state](/recipes/ai-chat-application/nestjs/persistent-state)
- [Stored input and output artifacts](/recipes/ai-chat-application/nestjs/artifact-storage)
- [Streamed responses](/recipes/ai-chat-application/nestjs/response-streaming)
- [Worker execution and job state](/recipes/ai-chat-application/nestjs/worker-state)

### Host AI Workflow Runner with NestJS
- [Postgres-backed state](/recipes/ai-workflow-runner/nestjs/persistent-state)
- [Stored input and output artifacts](/recipes/ai-workflow-runner/nestjs/artifact-storage)
- [Streamed responses](/recipes/ai-workflow-runner/nestjs/response-streaming)
- [Worker execution and job state](/recipes/ai-workflow-runner/nestjs/worker-state)

### Guides for NestJS
- [Configure build and start](/guides/nestjs/build-and-start)
- [Connect Postgres](/guides/nestjs/database-connection)
- [Apply database schema changes](/guides/nestjs/schema-changes)
- [Configure S3-compatible access](/guides/nestjs/object-client)
- [Deliver public assets through CDN](/guides/nestjs/cdn-assets)
- [Configure environment and secrets](/guides/nestjs/configuration-secrets)
- [Enforce private-file authorization](/guides/nestjs/private-file-access)
- [Diagnose deployment failures](/guides/nestjs/deployment-diagnostics)
