Prisma - The Easiest Way to Work with a Database in Next.js (UPDATED)

Опубликовано: 11 Октябрь 2024
на канале: Prisma
106,057
2.1k

Prisma is an ORM and database toolkit which makes it easy to have type-safe database access in Node. It's also the easiest way to work with databases in a Next.js app. You can learn more at https://prisma.io/nextjs.

In this video, we look at how to integrate Prisma in a Next.js app. We see how to query for data in the getServerSideProps function and how to save data using an API route.

Demo App Repo: https://github.com/chenkie/next-prisma
------------------------
Next:
👉 Check Previous video: How to create a PostgreSQL Database with Prisma's Data Platform -    • How to create a PostgreSQL Database w...  
👉 Check Next video: Seeding Databases with Prisma -    • Seeding Databases with Prisma  

------------------------
📚 Resources:

✅ Subscribe to Prisma:    / @prismadata  
✅ Get help from the Prisma Community: https://slack.prisma.io/
✅ Learn more about Prisma:
◭ Website: https://www.prisma.io
◭ Docs: https://www.prisma.io/docs
◭ Quickstart: https://pris.ly/qstart

------------------------
💬 Connect with Prisma:
Twitter:   / prisma  
LinkedIn:   / prisma-io