Learn Prisma In 60 Minutes

Video Review

As a developer writing a Next JS application using a legacy MySQL database (and a subscriber of Kyle’s) on the lookout for powerful tools to help with my projects, I’m tasked with deep diving into the Prisma implementation. Prisma, is one of the many ORMs available for the countless React/Next JS developers in “the wild” that has gained considerable popularity. Popularity is nice with open source but it’s not everything. I look for open-source dependencies such as ORMs based on their longevity, community and documentation. Hype is a factor, but stability and ease of use are the key issues that influence my decision on whether to use it in a project or not. After deciding positively regarding Prisma’s ability to deliver and having already put it to use in my project, Kyle’s video, “Learn Prisma in 60 Minutes: Ultimate Prisma Crash Course!” popped up on my recommended YouTube videos list. Considering all that, “Learn Prisma in 60 Minutes: Ultimate Prisma Crash Course!” might not deliver mastery but it certainly gets you up to speed on Prisma in 60 minutes. I highly recommend you check it out. I find it’s an excellent resource to get you started and revisit in addition to the Prisma documentation.

Web Dev Simplified

Prisma is an incredibly popular ORM and for good reason. It is feature rich, type safe, and built on modern JavaScript concepts. The only downside is it is quite complicated to learn at first which is where this video comes in. I will be teaching you everything you need to know to get up and running with Prisma in just 60 minutes.

Thank you Prisma for providing professional captions for this video!

📚 Materials/References:

How To Install Node.js Video: https://youtu.be/VShtPwEkDD0
Prisma Documentation: https://www.prisma.io/docs/getting-started
Async/Await Video: https://youtu.be/V_Kr9OSfDeU
Async/Await Article: https://blog.webdevsimplified.com/2021-11/async-await
MongoDB Crash Course Video: https://youtu.be/ofme2o29ngU
MongoDB Crash Course Article: https://blog.webdevsimplified.com/2022-02/mongo-db
Mongoose Crash Course Video: https://youtu.be/DZBGEVgL2eE

🌎 Find Me Here:

My Blog: https://blog.webdevsimplified.com
My Courses: https://courses.webdevsimplified.com
Patreon: https://www.patreon.com/WebDevSimplified
Twitter: https://twitter.com/DevSimplified
Discord: https://discord.gg/7StTjnR
GitHub: https://github.com/WebDevSimplified
CodePen: https://codepen.io/WebDevSimplified

⏱️ Timestamps:

00:00 – Introduction
01:12 – Project Setup
02:35 – Prisma Setup
06:38 – Basic Prisma Model Setup
07:56 – Prisma Migration Basics
09:11 – Prisma Client Basics
14:10 – Datasources and Generators
15:12 – Model Fields
19:19 – Model Relationships
26:16 – Model Attributes
29:55 – Enums
32:40 – Client Create Operations
40:15 – Client Read Operations
45:11 – Advanced Filtering
49:28 – Relationship Filtering
52:07 – Client Update Operations
55:02 – Connect Existing Relationships
57:52 – Client Delete Operations

#Prisma #WDS #Database