Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Prisma Crash Course

Traversy Media via YouTube

Overview

Learn to use Prisma, a powerful Node.js and TypeScript ORM and toolkit for database interaction, in this comprehensive 37-minute crash course. Explore key concepts including data modeling, schema creation, and migrations. Master the Prisma Client to perform CRUD operations, create relationships between models, and execute complex queries. Discover how to set up User and Article models, run migrations, and utilize the main() function. Practice creating, retrieving, updating, and deleting data, as well as establishing relationships between entities. Gain hands-on experience with looping through users and articles, and finish by exploring the Prisma Studio GUI for visual database management. Access a written version of the course and additional resources to enhance your learning experience.

Syllabus

- Intro & What Is Prisma?
- What Is Data Modeling?
- Getting Started
- The Schema File
- User Model
- Article Model
- Running Migrations
- Using The Prisma Client
- main Function
- Create a User
- Get Users
- Create Article & Relate User
- Create User & Article With One Query
- Loop Through Users & Articles
- Update Data
- Remove Data
- Prisma Studio GUI

Taught by

Traversy Media

Reviews

Start your review of Prisma Crash Course

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.