Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alessbell/simple-apollo-angular
https://github.com/alessbell/simple-apollo-angular
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/alessbell/simple-apollo-angular
- Owner: alessbell
- Created: 2023-11-01T13:58:52.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-14T18:54:32.000Z (8 months ago)
- Last Synced: 2024-10-11T12:56:26.646Z (27 days ago)
- Language: TypeScript
- Size: 324 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple Apollo Angular with `@defer` ⚡️
A demo of `apollo-angular` with the `@defer` directive using Apollo Client's `HttpLink`.
## Running the application
To run the back-end needed for this demo, please visit [client-router-e2e-tests](https://github.com/apollographql/client-router-e2e-tests) and follow the instructions for [Running Apollo Router locally](https://github.com/apollographql/client-router-e2e-tests?tab=readme-ov-file#running-apollo-router-and-cypress-tests-locally) (i.e. from installing Docker Desktop to running `npm run router:up`).
Once the router is running at `http://localhost:4000`, clone and install this repository, `npm i` and run `npm start`. Visit `http://localhost:4200` in the browser and watch `@defer` + Apollo Angular in action.