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

18 lines
725 B
Markdown

---
title: 'Using Apollo GraphQL with React'
description: '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](/blog/using-apollo-graphql-in-an-nx-workspace)
{% github-repository url="https://github.com/nrwl/nx-recipes/tree/main/apollo-graphql" /%}