Exploring Github API V4 using GraphQL and making Statistics on github data.
These instructions will get you a copy of the project up and running on your local machine for development purposes.
Be sure to have Maven installed
Clone the repository
git clone https://github.com/MoussaaK/Github-Statistics
And run jetty
cd your-clone-directory
mvn jetty:run
And go to the index : http://localhost:8080/ or http://localhost:8080/index.html to see the statistics
- GaphQL - A query language for your API
- Maven - Dependency Management
- JSON - Used for mapping and forming http posts headers
- Jetty - Jetty Server version : jetty-9.4.6.v20170531
We use git for versioning.
This project is licensed under the MIT License - see the LICENSE.md file for details
Hat tip to Shards Dashboard Team https://github.com/DesignRevision/shards-dashboard
http://localhost:8080/graphql?query={allUsers{login,name,repositories{totalCount}}}
http://localhost:8080/graphql?query={allLinks{url,description}}
http://localhost:8080/graphql?query={someRepositories{name,primaryLanguage}}
http://localhost:8080/graphql?query={allClosedIssueCount}
http://localhost:8080/graphql?query={allOpenIssueCount}
http://localhost:8080/graphql?query={allUsersCount}
http://localhost:8080/graphql?query={allRepositoryCount}
http://localhost:8080/graphql?query={someLanguages{name,languageFrequency}}
http://localhost:8080/graphql?query={allRepoPerYear{name,languageFrequency}}