In this video we recreate the Next.js example setting up Apollo Client v3, Apollo Server, Nexus Schema, with support for SSR.
Special thanks to AppSignal for partnering with me on this content! Please check them out at https://www.appsignal.com/nodejs and use the coupon code "leigh" for 10% off your first year. It's free to try out for a month!
Join me on Discord! https://discord.gg/wcSNwfu
Source code: https://github.com/leighhalliday/apollo-nextjs
Next.js Example: https://github.com/vercel/next.js/tree/canary/examples/api-routes-apollo-server-and-client
00:00 Introduction
01:37 AppSignal
02:30 Setting up Apollo Server in API route
05:42 Creating Schema with Nexus Schema
08:00 Setting up Apollo Client v3
17:50 Creating Isomorphic Link (HttpLink + SchemaLink)
24:00 Querying data with useQuery
26:30 Querying data via SSR