Skip to content

kamilkisiela/apollo-angular-services

Repository files navigation

Apollo Angular Code Generation Example

Write .graphql files, use auto generated Angular services.

It's all possible thanks to:

  • apollo-angular
  • graphql-code-generator
  • graphql-codegen-typescript-apollo-angular

1. Install

yarn

# or

npm install

2. Generate all

yarn graphql

# or

npm run graphql

3. Ready to go!

All documents from src/app/graphql were generated into services that you can find in src/app/generated/graphql.ts

About

Write .graphql files, use them as auto generated Angular services. https://github.com/kamilkisiela/apollo-angular-introduction

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published