https://github.com/kpman/graphqltw-meetup01
A demo project for dataloader with graphql server
https://github.com/kpman/graphqltw-meetup01
dataloader graphql
Last synced: over 1 year ago
JSON representation
A demo project for dataloader with graphql server
- Host: GitHub
- URL: https://github.com/kpman/graphqltw-meetup01
- Owner: kpman
- License: mit
- Created: 2017-08-16T02:41:55.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2021-10-18T03:32:22.000Z (over 4 years ago)
- Last Synced: 2025-03-11T11:49:16.794Z (over 1 year ago)
- Topics: dataloader, graphql
- Language: JavaScript
- Size: 52.7 KB
- Stars: 7
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## GraphQL Taiwan Meetup01
A demo project for dataloader with graphql server

- [slide](https://hackmd.io/p/Syk9o9xuZ#/)
## Getting started
```sh
$ yarn
$ yarn run migrate
$ yarn run seed
$ yarn run dev
```
Open http://localhost:8080/graphql
## example query
```
{
getAuthor(id: 3) {
id
name
posts {
id
text
author {
name
}
}
}
}
```
```
{
getAuthor(id: 3) {
id
name
posts {
id
text
author {
id
name
posts {
id
title
text
author {
id
posts {
id
title
text
}
}
}
}
}
}
}
```
## License
MIT © [Daniel Tseng](https://github.com/kpman)