I'm trying to connect my Next.js/ApolloClient/Typescript app to a GraphQL API made with Prisma/Nexus/ApolloServer, and I can't seem to figure out how to make this work. Is there a defiintive, straightforward example of how to do this correctly?

This page summarizes the projects mentioned and recommended in the original post on /r/nextjs

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • prisma-examples

    🚀 Ready-to-run Prisma example projects

  • I have created a GraphQL API backend based on this code - it is an official example from Prisma, using Prisma, Nexus, and Apollo Server to create an API with auth. It seems to work just fine.

  • Advanced-React

    Starter Files and Solutions for Full Stack Advanced React and GraphQL

  • WesBos Boilerplate

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • Next.js

    The React Framework

  • Next.js Apollo Client Example.

  • godotassets

  • Here's my code:

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts