-
Clone this repo
-
Get a personal access token with
public_repo
anduser
scopes enabled -
Find and replace
<YOUR-GH-TOKEN>
with your token
IMPORTANT: Do not share your token. Your token should be treated as a password. Do not store it or hard-coded in a SPA.
-
npm install
-
ng serve
-
visit http://localhost:4200
To run code generation again manually:
npm run generate
To run start codegen in watch mode:
npx graphql-codegen --watch "src/graphql/**/*.graphql"
-
This project was generated with Angular CLI
-
The apollo-angular was added using Schematics:
ng add apollo-angular
-
Apollo GraphQL VSCode extension is configured for intellisense
-
GraphQL code generator is used for codegen
-
Apollo Client Developer Tools is highly recommended