Nest.js REST API with Prisma ORM, Neon Postgres
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 formatsVideo Formats
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.