https://github.com/moonhighway/countries-datasources
A demo of Apollo's REST Data Sources
https://github.com/moonhighway/countries-datasources
Last synced: about 1 year ago
JSON representation
A demo of Apollo's REST Data Sources
- Host: GitHub
- URL: https://github.com/moonhighway/countries-datasources
- Owner: MoonHighway
- Created: 2019-10-27T00:41:33.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T10:59:09.000Z (over 3 years ago)
- Last Synced: 2025-02-16T18:44:19.406Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://www.moonhighway.com
- Size: 211 KB
- Stars: 0
- Watchers: 4
- Forks: 2
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Apollo REST Data Sources with the Countries API
This demo shows how you can use Apollo's REST Data Sources package to wrap a REST API with a GraphQL Server. For more on REST Data Sources, [check out the docs](https://www.apollographql.com/docs/apollo-server/data/data-sources/).
Setup:
```
git clone https://github.com/moonhighway/countries-datasources
cd countries-datasources
npm i
npm start
```
You'll find the server running on `localhost:4000`.