/angular-apollo-starter

Angular starter project to start consuming a GraphQL API

Primary LanguageTypeScriptThe UnlicenseUnlicense

Angular Apollo Starter

This starter project contains tools and configuration to start consuming a GraphQL API.

What is provided:

Getting Started

  1. Update ./src/environments/environment.ts with the URL to your GraphQL server
  2. Update ./codegen.yml with the URL to your GraphQL server
  3. Create .graphql file(s) containing your GraphQL queries, mutations, and subscriptions in its respective folder in ./src/app/graphql/
  4. Run the code generator: npm run graphql-codegen

You are now ready to start developing your Angular project.