nx/docs/shared/examples/apollo-react.md

725 B

title description
Using Apollo GraphQL with React Learn how to set up and use Apollo GraphQL with React in an Nx workspace, including API creation with NestJS and code generation from GraphQL schemas.

Using Apollo GraphQL with React in an Nx Workspace

In this article, you'll learn how to:

  • Create an Nx workspace for both frontend and backend applications
  • Create a GraphQL API using NestJS
  • Autogenerate frontend code based on your GraphQL schema
  • Create a React application to consume your GraphQL api

Blog Post: Using Apollo GraphQL in an Nx Workspace

{% github-repository url="https://github.com/nrwl/nx-recipes/tree/main/apollo-graphql" /%}