andersblom / graphql-codegen-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

This is a Turborepo-based project to show a brief demo of how to use GraphQL codegen.

Run this project

To run this project, run the following commands in your terminal:

  1. npm run dev -w=server - this runs the GraphQL server at port http://localhost:3001/
  2. npm run codegen:watch -w=web - this runs the GraphQL codegen-watcher to generate GraphQL queries & types
  3. npm run dev -w=web – this runs our web app at http://localhost:3000/

About


Languages

Language:TypeScript 92.9%Language:JavaScript 7.1%