An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

## GraphQL Taiwan Meetup01

A demo project for dataloader with graphql server

![GraphQL Taiwan](http://i.imgur.com/NULoFfw.jpg)

- [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)