
ByteGrad
チャンネル登録者数 18.3万人
12万 回視聴 ・ 3464いいね ・ 2024/06/06
👉 Check out Prisma: www.prisma.io/?via=bytegrad (paid sponsorship & I get commission from your purchases)
Disclaimer: this is a sponsored video (paid). It's your responsibility to evaluate safety, accuracy and other relevant parts of the reviewed product.
👉 NEW React & Next.js Course: bytegrad.com/courses/professional-react-nextjs
Hi, I'm Wesley. I'm a brand ambassador for Kinde (paid sponsorship).
👉 Check out Kinde for auth and more bit.ly/3QOe1Bh
👉 NEW React & Next.js Course: bytegrad.com/courses/professional-react-nextjs
👉 Professional JavaScript Course: bytegrad.com/courses/professional-javascript
👉 Professional CSS Course: bytegrad.com/courses/professional-css
👉 Web development roadmap 2024 & 2025: email.bytegrad.com/
👉 Email newsletter (BIG update soon): email.bytegrad.com/
👉 Discord: all my courses have a private Discord
⏱️ Timestamps:
00:00 Intro
01:07 Next.js architecture
02:02 Example app overview
03:15 Setup Prisma
06:09 Schema fundamentals
07:36 Prisma extension + defaultFormatter
08:34 Schema fundamentals (continued)
10:09 Create database
12:38 View database content (Prisma Studio)
14:13 GET data on page (findMany)
16:50 Prisma Client instantiation
18:29 GET data on page (findUnique)
22:18 Changing schema (Slug) - npx prisma db push
25:38 @unique
27:42 @map
28:04 @index
28:53 Filtering (where)
29:55 Ordering
30:18 Select
31:00 Pagination
32:29 Count
33:42 Writing data (POST / PUT / DELETE)
42:03 Relations (one-to-many)
43:54 Many-to-many
44:27 One-to-one
46:50 include & connect (relations queries)
49:12 Seeding database
51:10 Prisma types
53:13 Seeding database (continued)
55:50 Error handling
57:35 Caching in Next.js
59:59 Prisma Accelerate caching
1:00:34 Going to production
1:04:32 Migrations
1:06:15 npx prisma migrate
1:08:18 postinstall (prisma generate)
1:08:42 Push to Vercel
1:10:19 Serverless vs Edge
1:10:59 Middleware (edge)
1:13:07 Prisma Pulse
#webdevelopment #reactjs #nextjs
Note that my videos may contain mistakes. Always verify yourself that your code is safe and does what you want it to do for your specific situation. You agree by watching the videos that you are solely responsible for any mistakes in your code.
This channel and all its content is owned & operated by ByteGrad Sp. z o.o. with Tax ID: PL6762676561 .
.
TOP resource to LEARN AI for Developers - datacamp.pxf.io/RGyxrR (paid sponsorship & ByteGrad Sp. z o.o. gets co
コメント
関連動画

🌧️ Cozy Chicago City Bedroom Ambience 🎶 Relaxing Piano Jazz Music on a Rainy Night for Deep Sleep 💤
7,168 人が視聴中 -

All 12 useState & useEffect Mistakes Junior React Developers Still Make in 2025
1,166,293 回視聴 - 1 年前

Next.js Authentication Master Class - No Libraries (Email/Password, OAuth2, etc.)
65,604 回視聴 - 2 か月前

My Biggest Tutorial Ever (Build A FULL Google Drive Clone with React, Next, TypeScript and more)
171,028 回視聴 - 3 か月前
使用したサーバー: watawata8
再生方法の変更
動画のデフォルトの再生方法を設定できます。埋め込みで見れるなら埋め込みで見た方が良いですよ。
現在の再生方法: 通常
コメントを取得中...
関連動画

🌧️ Cozy Chicago City Bedroom Ambience 🎶 Relaxing Piano Jazz Music on a Rainy Night for Deep Sleep 💤
7168 人が視聴中
コメントを取得中...