https://github.com/lwc-essentials/apollo-client
Apollo Client for LWC
https://github.com/lwc-essentials/apollo-client
Last synced: 8 months ago
JSON representation
Apollo Client for LWC
- Host: GitHub
- URL: https://github.com/lwc-essentials/apollo-client
- Owner: LWC-Essentials
- License: bsd-3-clause
- Created: 2020-02-10T15:45:31.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-05T07:40:59.000Z (over 3 years ago)
- Last Synced: 2025-02-01T07:31:59.575Z (over 1 year ago)
- Language: JavaScript
- Size: 1.06 MB
- Stars: 9
- Watchers: 1
- Forks: 2
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# @lwce/apollo-client
[](https://www.npmjs.com/package/@lwce/apollo-client)
`@lwce/apollo-client` is an Apollo GraphQL client for Lightning Web Components
**Note #1:** *Some of the components use the LWC wire adapter API, which is subject to change (see: https://github.com/salesforce/lwc-rfcs/blob/master/text/0103-wire-adapters.md). The library currently uses the LWC wire adapter API 1.1.x.*
**Note #2:** *This library is under development and can change any time until it reaches version 1.0. Contributions as ideas or code are obviously welcome!*
The project is a mono-repo where each feature is defined in its own package. As of today the available packages are the apollo-client library and the sample application.
## Running the sample Application
The project contains a sample application that shows how to use the library. It has both a server side part, running NodeJS/express and the Apollo Server, as well as a client side part made with LWC and the Apollo client.
To run the application:
```
yarn build
yarn serve
```
Here is a video of the demo application:
[](http://www.youtube.com/watch?v=1TQdtL0cdwE "LWC Apollo Client")