Uploaded December 2023 | Updated November 2026, 1 day ago
Web Dev Roadmap for Beginners (Free!): bit.ly/DaveGrayWebDevRoadmap
Learn how to build a Nest.js REST API with Prisma ORM and Neon Postgres. You will set up a serverless postgres database with Neon, integrate Prisma ORM into your Nest.js application, and test the completed REST API.
π Support me on Patreon β patreon.com/davegray
β Become a full-stack web dev with Zero To Mastery Courses:
- The Complete Node.js Developer: bit.ly/CompleteNodeJS
- Advanced React: bit.ly/AdvReactDev
- Junior to Senior Dev Roadmap: bit.ly/WebDevRoadmap-JrtoSr
π© Subscribe β bit.ly/3nGHmNn
π¬ Course Updates β https://courses.davegray.codes/
β Questions - Please post them to my Discord β discord.gg/neKghyefqh
β Buy Me A Coffee β buymeacoffee.com/davegray
π Follow Me On Social Media:
GitHub: github.com/gitdagray
Twitter: twitter.com/yesdavidgray
LinkedIn: linkedin.com/in/davidagray
π Source Code: github.com/gitdagray/nestjs-course
π Playlist for this NestJS Series: youtube.com/playlist?list=PL0Zuz27SZ-6MexSAh5x1R3rU6Mg2zYBVr
Nest.js REST API with Prisma ORM, Neon Postgres - Series Part 5
(00:00) Intro
(00:05) Welcome
(00:28) Starter Code
(00:45) Neon & Prisma
(01:20) Set up your Neon database
(03:32) Set up Prisma
(06:52) Prisma VS Code Extension
(07:20) Define Data Models in the Prisma Schema
(10:37) Run a Prisma Migration
(14:25) How to Migrate Data Model changes
(16:52) Database Module
(18:07) Not Using the Global Decorator
(19:10) Database Service
(20:55) Create the Employee REST API Resource
(22:27) Employees Module
(22:58) Employees Controller
(26:47) Employee Service
(33:37) Testing the REST API Endpoints
π Tutorial References:
π NestJS Official Site: nestjs.com
π Neon: https://neon.tech/
π Prisma: prisma.io
Was this NestJS REST API with Prisma and Neon Postgres helpful? If so, please share. Let me know your thoughts in the comments.
#nestjs #rest #api
Web Dev Roadmap for Beginners (Free!): bit.ly/DaveGrayWebDevRoadmap
Learn how to build a Nest.js REST API with Prisma ORM and Neon Postgres. You will set up a serverless postgres database with Neon, integrate Prisma ORM into your Nest.js application, and test the completed REST API.
π Support me on Patreon β patreon.com/davegray
β Become a full-stack web dev with Zero To Mastery Courses:
- The Complete Node.js Developer: bit.ly/CompleteNodeJS
- Advanced React: bit.ly/AdvReactDev
- Junior to Senior Dev Roadmap: bit.ly/WebDevRoadmap-JrtoSr
π© Subscribe β bit.ly/3nGHmNn
π¬ Course Updates β https://courses.davegray.codes/
β Questions - Please post them to my Discord β discord.gg/neKghyefqh
β Buy Me A Coffee β buymeacoffee.com/davegray
π Follow Me On Social Media:
GitHub: github.com/gitdagray
Twitter: twitter.com/yesdavidgray
LinkedIn: linkedin.com/in/davidagray
π Source Code: github.com/gitdagray/nestjs-course
π Playlist for this NestJS Series: youtube.com/playlist?list=PL0Zuz27SZ-6MexSAh5x1R3rU6Mg2zYBVr
Nest.js REST API with Prisma ORM, Neon Postgres - Series Part 5
(00:00) Intro
(00:05) Welcome
(00:28) Starter Code
(00:45) Neon & Prisma
(01:20) Set up your Neon database
(03:32) Set up Prisma
(06:52) Prisma VS Code Extension
(07:20) Define Data Models in the Prisma Schema
(10:37) Run a Prisma Migration
(14:25) How to Migrate Data Model changes
(16:52) Database Module
(18:07) Not Using the Global Decorator
(19:10) Database Service
(20:55) Create the Employee REST API Resource
(22:27) Employees Module
(22:58) Employees Controller
(26:47) Employee Service
(33:37) Testing the REST API Endpoints
π Tutorial References:
π NestJS Official Site: nestjs.com
π Neon: https://neon.tech/
π Prisma: prisma.io
Was this NestJS REST API with Prisma and Neon Postgres helpful? If so, please share. Let me know your thoughts in the comments.
#nestjs #rest #api










