Join the AI Workshop and learn to build real-world apps with AI. A hands-on, practical program to level up your skills.
Prisma is a modern ORM (Object-Relational Mapping) for Node.js and TypeScript that makes working with databases a pleasure. It provides a type-safe database client, automatic migrations, and an intuitive data modeling language.
In this unit, you’ll learn how to use Prisma in your projects. We’ll cover setting up Prisma with your database, defining your data models in the Prisma schema, and running migrations to keep your database in sync. You’ll learn how to perform CRUD operations (Create, Read, Update, Delete) using Prisma’s intuitive API, and explore advanced features like defining relations between models, creating composite unique keys, and managing your database effectively.
Prisma supports PostgreSQL, MySQL, SQLite, SQL Server, MongoDB, and CockroachDB, making it a versatile choice for almost any project.