/GraphQlWithAngular

GraphQl using Apollo in Angular

Primary LanguageTypeScript

GraphQlDemo

This is the demo project in which Apollo is used to implement GraphQl in Angular. This project was generated with Angular CLI version 9.1.7.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Add Apollo library files

ng add apollo-angular

specify endpoint in graphql.module.ts

https://api.spacex.land/graphql/

Install dependencies

ng i @apollo/client graphql graphql-tag

image