Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/przemek-jablonski/github-graphql-doodle

example of GraphQL Android client app, based on new Github's API
https://github.com/przemek-jablonski/github-graphql-doodle

dagger2 graphql-java graphql-query mockito unit-testing

Last synced: 9 days ago
JSON representation

example of GraphQL Android client app, based on new Github's API

Awesome Lists containing this project

README

        

# github-graphQL-doodle
last commit on Nov 8, 2016

Doodling with new GitHub's GraphQL API for querying and retrieving data.
#

Deserialization of a API data is done with Gson, while serialization of graph queries is done with custom parser, fully compliant with GraphQL java implementation, regardless of graph nesting levels.

GraphQL Converter factory can be found in _backend/serializers/_ package.

GraphQL queries can be found in _backend/models/graphql/queries/_ package.

Other than that, it's very simple and standard modern MVP Android app.
#

>//todo: Right now Graphql query and response objects are decoupled from one another. I will be finishing reflective query creation, based on response object in near future.

#

```
BRO TIP: github's api key is stored in apikeys.xml file in res/values folder, which is not in this repo! Create it, like below

YOUR_API_KEY_HERE

```
https://help.github.com/articles/creating-an-access-token-for-command-line-use/

#

Used Dagger2, Retrofit, GraphQL-Java, Gson, MVP, ButterKnife, Picasso.

![](screens/Screenshot_20161107-195042.png?raw=true )

![](screens/Screenshot_20161107-194500.png?raw=true )

![](screens/Screenshot_20161107-204224.png?raw=true )