Web Dev Roadmap for Beginners (Free!): https://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.

⭐ Become a full-stack web dev with Zero To Mastery Courses:
- The Complete Node.js Developer: https://bit.ly/CompleteNodeJS
- Advanced React: https://bit.ly/AdvReactDev
- Junior to Senior Dev Roadmap: https://bit.ly/WebDevRoadmap-JrtoSr

Subscribe https://bit.ly/3nGHmNn

Course Updates https://courses.davegray.codes/

Questions - Please post them to my Discord https://discord.gg/neKghyefqh

Buy Me A Coffee https://www.buymeacoffee.com/davegray

Follow Me On Social Media:
GitHub: https://github.com/gitdagray
Twitter: https://twitter.com/yesdavidgray
LinkedIn: https://www.linkedin.com/in/davidagray/

Source Code: https://github.com/gitdagray/nestjs-course

Playlist for this NestJS Series: https://www.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: https://nestjs.com
Neon: https://neon.tech/
Prisma: https://www.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