Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/przemek-jablonski/github-graphql-doodle
- Owner: przemek-jablonski
- License: mit
- Created: 2016-11-03T23:53:45.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-26T12:15:49.000Z (over 6 years ago)
- Last Synced: 2024-11-12T14:34:36.551Z (2 months ago)
- Topics: dagger2, graphql-java, graphql-query, mockito, unit-testing
- Language: Java
- Homepage:
- Size: 4.17 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# github-graphQL-doodle
last commit on Nov 8, 2016Doodling 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 belowYOUR_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 )