#5 – Setting up Database Schema

Опубликовано: 25 Июнь 2026
на канале: Primus Learning
2,556
45

In this video, we'll show you how to set up your database schema using Prisma. We'll walk you through defining the necessary models for the application and the relationships between them. This step is crucial in ensuring that our application's data is structured correctly and can be stored and retrieved efficiently.

We'll also cover setting up the Prisma adapter so that we can store an authenticated user's data to our database securely. Additionally, we'll create the necessary model for our watchlist functionality that we'll be implementing in later videos.

Source code and necessary links are available in the links below:

Source code:
https://github.com/Primus-Learning/ne...

Deployed project:
https://reelranger.vercel.app

Prisma schema doc:
https://www.prisma.io/docs/concepts/c...

NextAuth Prisma adapter doc:
https://next-auth.js.org/getting-star...

If you find this video helpful, consider liking and subscribing to our channel and stay tuned for more tutorials.

#nextjs #react #reactjs #nextjstutorial #reactjstutorial #fullstackwebdevelopment

Background music:
Track 1:
Kenzi Tower by Soyb
Source: https://freetouse.com/music
No Copyright Music for Video (Free)

Track 2:
Butter by Lukrembo
Source: https://freetouse.com/music
No Copyright Music for Video (Free)

Track 3:
Warm Place by Pufino
Source: https://freetouse.com/music
No Copyright Music for Video (Free)

Track 4:
Music track: Imagine by Lukrembo
Source: https://freetouse.com/music
No Copyright Music for Video (Free)