Giter Club home page Giter Club logo

github-statistics's Introduction

Github Statistics

Exploring Github API V4 using GraphQL and making Statistics on github data.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development purposes.

Prerequisites

Be sure to have Maven installed

Installing

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

Built With

  • 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

Versioning

We use git for versioning.

Authors

  • KONATE Moussa - Initial work - MoussaaK

  • SOKOBA Aboubacar - Initial work - ACSokoba

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

Hat tip to Shards Dashboard Team https://github.com/DesignRevision/shards-dashboard

Quering the local graphql server

http://localhost:8080/graphql?query={someCompaniesData{companyName,numberOfMembers,numberOfRepositories,avarageCommitCount,totalRepositoriesDiskUsage}}

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}}

For more

go to https://www.howtographql.com/

github-statistics's People

Contributors

acsokoba avatar moussaak avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

acsokoba

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.