Prisma, TypeScript

Getting Started with Prisma

23 Lessons

ryan

Ryan Chenkie

Full Stack Instructor

Prisma offers an ORM and suite of tools that make it incredibly easy to work with databases, especially in a type-safe manner. Prisma's ORM offers full type safety when querying our databases, meaning that writing queries becomes faster and far less error-prone. Prisma also offers tools for migrations, database seeding, viewing/editing data, and much more. In this course, we take a look at how to get going using Prisma in a Next.js application. We find out how to define a data model, how to query our database to return results, and how to work with relations.

Welcome and Getting Started

Installing and Initializing Prisma

Our First Data Model

Querying for Data from the App

Modelling Relations

Prisma Queries for Full CRUD

Prisma Types

Wrapping Up

hero grid
hero grid