Next.js GraphQL API using Apollo Server 3 and Prisma
Автор: Prisma
Загружено: 2021-10-01
Просмотров: 30470
In this video, you'll learn how to build a GraphQL API in a Next.js app using Apollo Server 3.
*Timestamps:*
00:00 - Installing apollo-server-micro, graphql & micro-cors
00:50 - Defining a GraphQL schema
03:47 - Including a database URL + Seeding the database
05:13 - Creating the GraphQL endpoint
11:45 - Taking a look at Apollo Studio
14:25 - Initializing Prisma Client
17:35 - Updating the resolver
19:04 - Creating the GraphQL context
Useful links:
• Apollo Studio: https://studio.apollographql.com/
• Apollo Server 3: apollographql.com/docs/apollo-server/
• Initializing Prisma Client in a Next.js Project: https://www.prisma.io/docs/support/he...
• GraphQL spec: https://graphql.org
• Resolver arguments: https://www.apollographql.com/docs/ap...
• GitHub repo: https://github.com/m-abdelwahab/aweso...
• Part 2 blog post: https://prisma.io/blog/fullstack-next...
• Part 1 blog post: https://prisma.io/blog/fullstack-next...
👉 Next video: Building a GraphQL API using Nexus, Prisma and Next.js - • Видео
👉 Previous video: REST vs. GraphQL - • REST vs GraphQL
👉 Check out the full playlist: • Learn how to build a fullstack app! With N...
------------------------
📚 Resources:
✅ Subscribe to Prisma: / @prismadata
✅ Get help from the Prisma Community: https://slack.prisma.io/
✅ Learn more about Prisma:
◭ Website: https://www.prisma.io
◭ Docs: https://www.prisma.io/docs
◭ Quickstart: https://pris.ly/quickstart
------------------------
💬 Connect with Prisma:
Twitter: / prisma
Discord: https://pris.ly/discord
LinkedIn: / prisma-io
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: