To get started with Apollo and Angular install few needed packages. Take a look at Installation section.
Take a look at Initialization section.
If your GraphQL endpoint lives under different host with Angular CLI you can easily define proxy configuration.
Take for example
Create a json file (
proxy.config.json for example) with that configuration.
To run server use
ng serve --proxy-config <path to file>
ng serve --proxy-config proxy.config.json