NestJS + Prisma Development

Implement NestJS backend features with Prisma schema, migrations, and DTO validation.

1|Updated Jan 28, 2026
One-click install
npx skills add https://github.com/daithang-organization/SE104_VLEAGUE --skill nestjs-prisma-development
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: NestJS + Prisma Development
Source: https://github.com/daithang-organization/SE104_VLEAGUE/tree/main/.agent/skills/nestjs-prisma-development
Command: npx skills add https://github.com/daithang-organization/SE104_VLEAGUE --skill nestjs-prisma-development

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides developers to implement backend features for SE104_VLEAGUE using NestJS and Prisma.

Core Features & Use Cases

  • Module scaffolding: Create NestJS modules, controllers, and services wired to Prisma.
  • ** Prisma integration & migrations**: Define Prisma models, generate migrations, and seed data.
  • DTOs, validation, and testing: Follow DTO patterns, validation pipes, and unit/e2e testing scaffolds.
  • Use Case: Quickly add a new entity (e.g., Team) with full API endpoints, data validation, and migrations.

Quick Start

  • Navigate to apps/api and use the NestJS CLI to generate modules, controllers, and services.
  • Define Prisma models in prisma/schema.prisma, migrate, and implement service logic in NestJS services.
  • Run tests with pnpm test and seed data with Prisma seed.

Frequently Asked Questions about NestJS + Prisma Development

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

FAQPage Schema
How do I build a NestJS backend API with Prisma ORM?

You can build a NestJS backend API with Prisma ORM by using the NestJS CLI to generate modules, controllers, and services, then defining your database models in the Prisma schema and wiring them into the services.

What is the best way to add a new entity with full API endpoints in NestJS?

The best way to add a new entity in NestJS is to scaffold a module with controllers and services, define the Prisma model, generate migrations, and implement DTO validation patterns for the endpoints.

How do I set up DTO validation and testing in a NestJS Prisma application?

You set up DTO validation and testing in a NestJS Prisma application by applying validation pipes with standard DTO patterns and using Jest to scaffold unit and end-to-end tests.

Does this NestJS Prisma skill support PostgreSQL and Jest testing?

Yes, this NestJS Prisma skill supports PostgreSQL and Jest testing, specifically targeting NestJS 11.x and Prisma 7.x to implement migrations, seed data, and test scaffolding.

How do I generate Prisma migrations and seed data for a NestJS module?

You generate Prisma migrations and seed data for a NestJS module by defining models in prisma/schema.prisma, running migration commands, and executing the Prisma seed script to populate the database.