Next.js 13, Apollo Server v4 and GraphQL: Building a powerful and efficient API | Server Side

preview_player
Показать описание


0:00 intro and demo
1:57 inital setup next js, prisma, database
9:27 installing apollo server and graphql
10:15 following best practice while useing prisma and next js
11:20 setting up apollo server
12:54 explaining typedefs and resolvers
13:40 defining schemas for graphql
14:57 first query
22:38 nested resolver
26:27 query for single novel
29:16 creating first mutation (addnovel)
33:13 mutation for updating novel
36:55 mutation for deleting novel
39:23 mutation for adding author
42:40 mutation for deleting author
44:45 clean up!!
Рекомендации по теме
Комментарии
Автор

But how implement auth middleware for verify jwt token via bearer in req header for protect group of query and mutations? Can do that?

tatkasmolko