This is a Turborepo-based project to show a brief demo of how to use GraphQL codegen.
To run this project, run the following commands in your terminal:
npm run dev -w=server
- this runs the GraphQL server at port http://localhost:3001/npm run codegen:watch -w=web
- this runs the GraphQL codegen-watcher to generate GraphQL queries & typesnpm run dev -w=web
– this runs our web app at http://localhost:3000/