Back to Browse

Nest.js REST API with Prisma ORM, Neon Postgres

35.2K views
Dec 1, 2023
39:27

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. πŸ’– Support me on Patreon ➜ https://patreon.com/davegray ⭐ 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

Download

1 formats

Video Formats

360pmp458.2 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Nest.js REST API with Prisma ORM, Neon Postgres | NatokHD