Prisma
prisma.io › home › nestjs › nestjs › nestjs
How to use Prisma ORM and Prisma Postgres with NestJS | Prisma Documentation
It is used as an alternative to writing plain SQL, or using another database access tool such as SQL query builders (like knex.js) or ORMs (like TypeORM and Sequelize). Prisma currently supports PostgreSQL...
Medium
medium.com › @hrynkevych › prisma-orm-and-postgresql-with-nestjs-bf0a551fcaff
Prisma ORM and PostgreSQL with NestJS | by Mykhailo (Michael) Hrynkevych | Medium
August 30, 2024 - Schema-Driven Development: Prisma’s schema-first approach aligns well with NestJS’s modular architecture, enabling clear, maintainable database structures that evolve with the application. Efficient Data Management: PostgreSQL’s advanced capabilities, such as support for complex queries and strong transactional integrity, paired with Prisma’s efficient query generation, make this setup ideal for high-performance applications.
NestJS Postgres Prisma Tutorial #2 - Create Prisma Model
NestJS Postgres Prisma Tutorial #1 - Getting Setup - YouTube
Nest.js REST API with Prisma ORM, Neon Postgres - YouTube
10:20
NestJS Tutorial #16 How to connect Postgres Databases using Prisma ...
01:43:56
NestJS & Prisma Tutorial - YouTube
01:08:13
Criando API com NestJS, Prisma e Postgres - YouTube
Prisma
prisma.io › blog › nestjs-prisma-rest-api-7D056s1BmOL0
Build a REST API with NestJS, Prisma 7, PostgreSQL and Swagger
June 3, 2022 - In this tutorial, you will learn how to build the backend REST API for a blog application called "Median" (a simple Medium clone). You will get started by creating a new NestJS project. Then you will start a PostgreSQL database and connect to ...
GitHub
github.com › prisma › blog-backend-rest-api-nestjs-prisma
GitHub - prisma/blog-backend-rest-api-nestjs-prisma: A simple backend REST API for a blog built using NestJS, Prisma, PostgreSQL and Swagger. · GitHub
Starred by 189 users
Forked by 45 users
Languages TypeScript 93.6% | JavaScript 6.4%
GitHub
github.com › notiz-dev › nestjs-prisma-starter
GitHub - notiz-dev/nestjs-prisma-starter: Starter template for NestJS 😻 includes GraphQL with Prisma Client, Passport-JWT authentication, Swagger Api and Docker
docker run -d -t -p 3000:3000 --env-file .env nest-prisma-server · Now open up localhost:3000 to verify that your nest server is running. When you run your NestJS application in a Docker container update your .env file · - DB_HOST=localhost # replace with name of the database container + DB_HOST=postgres # Prisma database connection + DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DB_HOST}:${DB_PORT}/${POSTGRES_DB}?schema=${DB_SCHEMA}&sslmode=prefer
Starred by 2.5K users
Forked by 366 users
Languages TypeScript 96.7% | JavaScript 1.8% | Dockerfile 1.3% | Shell 0.2%
DEV Community
dev.to › xavier_carreragimbert › setting-up-nestjs-with-prisma-without-the-headache--47n2
Setting Up NestJS with Prisma (Without the Headache) - DEV Community
November 24, 2025 - pnpm dlx @nestjs/cli@11.0.0 new nestjs-prisma-test ... # docker-compose.yml version: '3.8' services: postgres: image: postgres:13.5 restart: always environment: - POSTGRES_USER=myuser - POSTGRES_PASSWORD=mypassword volumes: - postgres:/var/lib/postgresql/data ports: - '5432:5432' volumes: postgres:
DEV Community
dev.to › manendrav › how-to-set-up-nestjs-with-prisma-and-postgresql-2026-complete-guide-2da7
How to Setup NestJS with Prisma and PostgreSQL (2026 Complete Guide) - DEV Community
March 3, 2026 - Inside the src directory, create a new file called prisma.service.ts and add the following code to it: import { Injectable } from "@nestjs/common"; import { PrismaClient } from "../generated/prisma/client.js"; import { PrismaPg } from "@prisma/adapter-pg"; @Injectable() export class PrismaService extends PrismaClient { constructor() { const adapter = new PrismaPg({ connectionString: process.env.DATABASE_URL as string, }); super({ adapter }); } }
DEV Community
dev.to › dilumdarshana › connecting-database-with-nestjs-using-prisma-orm-5f7h
Connecting Database with NestJS Using Prisma ORM - DEV Community
April 6, 2025 - Today, let's focus on connect with the PostgreSQL database - a powerful popular relational database. Obviously, we can use native drivers to connect with any databases from NestJS app. But, most of time, it is better to use an ORM, since, it is more time efficient and maintainable. Today, let's focus on Prisma ORM, one of the most modern and developer-friendly ORMs, to connect PostgreSQL with a NestJS application.
Tomray
tomray.dev › nestjs-prisma
Ultimate Guide: How to use Prisma with NestJS - Tom Ray
November 29, 2022 - They're not yet connected in anyway, but you now have your local Postgres server running (via Docker Compose) as well as your NestJS app server running locally on your machine. You can think of Prisma as a bridge between your database and your backend services - they provide a set of tools that make working with databases much easier.
GitHub
github.com › the-pujon › nestjs-prisma-postgres-starter
GitHub - the-pujon/nestjs-prisma-postgres-starter: Production-ready NestJS starter with PostgreSQL and Prisma. Includes clean architecture, environment-based config, database migrations, validation, and scalable project structure. · GitHub
Production-ready NestJS starter with PostgreSQL and Prisma. Includes clean architecture, environment-based config, database migrations, validation, and scalable project structure. - the-pujon/nestjs-prisma-postgres-starter
Starred by 52 users
Forked by 13 users
Languages TypeScript 97.9% | HTML 1.2%