Giter VIP home page Giter VIP logo

lib-quality's Introduction

LibQuality API

LibQuality is an API to measure the quality of famous open source projects like React, Angular, Vue, among others. It collects data from GitHub API, consolidate, and make them available for the end user.

Requirements

  • First you need Node 14+ on your environment.
  • Then you have to clone this repository or download the latest version available on releases.
  • Install the dependecies with npm install.
  • And boot up the server npm start.

Check the swagger documentation for the API visiting http://localhost:3000/docs.

How does it work and how to use it

API Flow

LibQuality accepts requests through the endpoint /search. Use this route with the query name. Its value should be the name of the respository you want to collet the quality metrics.

For example: http://localhost:3000/search?name=react

To avoiding reaching the maximum amount of requests provided by the GitHub API, it is highly recommended that you add your GitHub Token to the Authorization header of your requests.

LibQuality will handle the given name and, if a match is found, return the current amount of opened issues, the average days they are opened, its standard deviation and two lists of data to be used in a chart (bar, line, scatter).

LibQuality saves the searches in a database (including your public GitHub name from your token). These data will be used later to create new features. You can check the logs by visiting the /list endpoint.

Tests

To execute the unit tests of the application, run npm test.

lib-quality's People

Contributors

mrguima avatar

Watchers

 avatar

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.