In this tutorial we will be building a full-stack web application with Next.js 13, Apollo Server 4 and GraphQL. In this video, i will be showing you how to use the latest version of Next.js and Apollo Server to build powerful GraphQL API. We will start by setting up a Next.js project and integrating Apollo Server 4, which will allow us to handle all of our GraphQL operations. Then we will move on to creating our GraphQL schema and implementing different GraphQL operations such as queries, mutations, and subscriptions. . By the end of this tutorial, you will have a solid understanding of how to build a full-stack web application with Next.js, Apollo Server 4 and GraphQL. So, make sure to watch this tutorial and learn how to leverage the power of Next.js 13 and Apollo Server 4 to build a powerful and efficient GraphQL API."
Github repo - https://github.com/Thabish-Kader/Next...
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!!