👋 Welcome to the A Practical Introduction to Prisma workshop.
This Notion document
GitHub starter project
In order to successfully complete the tasks in the workshop, you should have:
That's it 🙌 (no prior knowledge about SQL or Prisma is required)
In this workshop, you'll learn about various workflows that are useful to know when using Prisma.
You'll start by setting up Prisma with a SQLite database, learn about data modeling with Prisma and performing database migrations (lesson 1).
Then, you'll learn about Prisma Client, a type-safe query builder that can be used to query your database. You're going to explore various queries, from plain CRUD, to relation queries, to filters and pagination (lesson 2).
Next, you'll learn how you can use Prisma Client to implement the routes of a REST API (lesson 3).
Finally, we'll cover how you can use Prisma Client to implement the resolvers of a GraphQL API (lesson 4).