Join our community

Get access to the complete guide to developing and deploying fast, production-ready Nuxt apps.

5-13 Update Lesson Endpoint

In this lesson, we update our lesson endpoint to use Prisma.

We’ll do this by creating a nested where selector, returning the first lesson we find. We also have to update the type that our useLesson composable uses from our custom type to the Prisma generated type.