template-backend

Scaffold a NestJS backend with hexagonal architecture and Prisma migrations.

Updated Dec 26, 2025
One-click install
npx skills add https://github.com/JoyanLabs/template-nestjs-dashboard-better_auth --skill template-backend
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: template-backend
Source: https://github.com/JoyanLabs/template-nestjs-dashboard-better_auth/tree/main/skills/template-backend
Command: npx skills add https://github.com/JoyanLabs/template-nestjs-dashboard-better_auth --skill template-backend

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This backend template provides a ready-to-use NestJS structure with hexagonal architecture, Prisma, Better Auth, Inngest, and Biome to accelerate enterprise backend development and maintainability.

Core Features & Use Cases

  • Hexagonal architecture with modular src layout, contexts, and shared code for maintainability and testability.
  • Integrated Prisma ORM with migrations and PostgreSQL readiness, enabling rapid data modeling and deployment.
  • Dockerized development and production workflows with CI hints, fast builds, and ergonomic tooling such as Vitest, SWC, Husky, and ESModules.

Quick Start

Install dependencies and start the dev server to begin building your NestJS backend.

Frequently Asked Questions about template-backend

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a NestJS backend with hexagonal architecture?

You can scaffold a NestJS backend with hexagonal architecture by applying this template, which provides a modular src layout with contexts and shared code to enforce separation of concerns and accelerate enterprise project bootstrapping.

Does this NestJS template include Prisma ORM and PostgreSQL migrations?

Yes, this NestJS template integrates Prisma ORM with built-in migrations and PostgreSQL readiness, enabling rapid data modeling and database schema management directly during backend development.

Can I use Vitest and Docker for containerized NestJS backend deployment?

Yes, you can use Docker for containerized development and production workflows, while Vitest provides robust testing capabilities to ensure reliable NestJS backend deployment and continuous integration.

What is the best way to bootstrap an enterprise-grade API with NestJS?

The best way to bootstrap an enterprise-grade API is using this NestJS template, which enforces modular architecture, Prisma migrations, and standardized tooling like Biome and Husky for fast team onboarding.

Do I need ESModules and SWC to start building with this backend template?

Yes, this backend template is configured with ESModules and SWC for fast builds, meaning your development environment should support these modern JavaScript standards to ensure ergonomic and performant backend development.