Explanation
Prisma maps a schema to a typed client so Node APIs can create, query, and migrate data safely.
Code example
typescriptconst user = await prisma.user.create({
data: {
email: "learner@xirfadhub.com",
skills: { create: [{ name: "Express" }] },
},
include: { skills: true },
});Helpful resources
Exercise
Add User and Skill models in Prisma, push the schema, and implement CRUD in Express.
