Next.jsΒ + PostgreSQLΒ + Drizzle ORM - Nextjs Full Stack Project @DaveGrayTeachesCode
Next.jsΒ + PostgreSQLΒ + Drizzle ORM - Nextjs Full Stack Project  @DaveGrayTeachesCode
Uploaded October 2024 | Updated November 2026, 2 hours ago
Learn how to add a PostgreSQL (aka Postgres) database to your Next.js app with Neon Postgres and Drizzle ORM in a step-by-step tutorial. This video is part 3 of a Nextjs 15 Full Stack Project series.

⭐ Use the code "davegray" for 3 months free on the Team plan of Sentry for any new accounts:
- Sentry Homepage: bit.ly/sentry-dg
- Sentry Sign-up: bit.ly/try-sentry-dg
- Sentry Next.js: bit.ly/sentry-nextjs-dg
- Sentry Next.js Docs: bit.ly/sentry-docs-dg

πŸ”₯ Neon Postgres: https://fyi.neon.tech/davegray

πŸ”’ Kinde Auth: kinde.com/dgray-nextjsstack

πŸ‘‰ Web Dev Roadmap for Beginners (Free!): bit.ly/DaveGrayWebDevRoadmap

πŸ’– Support me on Patreon ➜ patreon.com/davegray

🚩 Subscribe ➜ bit.ly/3nGHmNn

πŸ“¬ Course Updates ➜ https://courses.davegray.codes/

❓ Ask Questions & Discuss on Discord ➜ discord.gg/neKghyefqh

β˜• Buy Me A Coffee ➜ buymeacoffee.com/davegray

πŸ”— Next.js Full Stack Project playlist: youtube.com/playlist?list=PL0Zuz27SZ-6PCLz7VMP2QQdeKa83rshe5

πŸ‘‡ Follow Me On Social Media:
GitHub: github.com/gitdagray
Twitter: twitter.com/yesdavidgray
LinkedIn: linkedin.com/in/davidagray

πŸ”— Course Resources: github.com/gitdagray/nextjs-full-stack-project

Next.js + PostgreSQL + Drizzle ORM - Nextjs Full Stack Project

(0:00:00) Intro
(0:01:12) Tech Stack
(0:01:32) User Stories Checklist
(0:04:06) Create a Free Neon Account & Project
(0:09:45) Upgrading to Next.js 15 Stable Version
(0:13:21) Installing Drizzle ORM with Neon Postgres
(0:15:55) Create a database connection
(0:19:27) Create database table schemas
(0:27:55) Define table relationships
(0:30:56) Create a migration function
(0:34:30) Create the drizzle config
(0:36:49) Add scripts to package.json
(0:37:55) Generate and Migrate database changes
(0:40:18) Adding Data

πŸ“š Tutorial References:
πŸ”— Next.js: nextjs.org
πŸ”— ShadCN/ui: ui.shadcn.com
πŸ”— Sentry Next.js: bit.ly/sentry-nextjs-dg
πŸ”— Tailwind CSS: tailwindcss.com
πŸ”— TypeScript: typescriptlang.org
πŸ”— Drizzle ORM: https://orm.drizzle.team/
πŸ”— Neon Postgres: https://fyi.neon.tech/davegray
πŸ”— Kinde Auth: kinde.com/dgray-nextjsstack

Was this Next.js Full Stack PostgreSQL tutorial with Neon & Drizzle ORM helpful? If so, please share. Let me know your thoughts in the comments.

#nextjs #postgres #postgresql
Next.jsΒ + PostgreSQLΒ + Drizzle ORM - Nextjs Full Stack ProjectπŸ‘‹πŸ‘‹ Bye Bye Nodemon!How to Get Lines Between Files in VS Code πŸ”₯ReactΒ TableΒ withΒ LiveΒ UpdatesΒ | Data Polling in Next.js &Β TanStack TableThe Epic Stack for React, Remix - Interview with Kent C. Dodds, Speaker at React Summit USBuild Your UI Component Library in React & Next.js | ShadCN UI for BeginnersMutating Data in Next.js | Mutations with Nextjs 13Next.js Pages, Layout, Links, Routes & Loading | Next.js 13 tutorialDjango Login Form and User AuthenticationNext-Auth Login Authentication Tutorial with Next.js App DirectoryIntroduction to Jest Testing | JavaScript Unit Tests🚨 STOP Using Auth in Next.js Layouts
Dave Gray |

Next.jsΒ + PostgreSQLΒ + Drizzle ORM - Nextjs Full Stack Project

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER