Coder Social home page Coder Social logo

bredefk / cloud-assignment-1 Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 5 KB

Mirror from bitbucket. Website that lets you get the project name, owner name, comitter with the most commits and the number, and all the languages in the repository

Home Page: https://oblig1-klausen.herokuapp.com

Go 100.00%
go herouku github api

cloud-assignment-1's Introduction

Assignment 1: GitHub project data

Root url:

https://oblig1-klausen.herokuapp.com

Instructions:

Develop a service that will consume a given GitHub project URI and will return the associated user account/organisation, an indication of a programming language(s) used, and the account name of the top committer, that is, the contributor with the largest number of commits to the project.

Service Specification:

The service has to be deployed on either Google Compute Engine or Heroku and expose an API that commits to the following specifications. The service has to be written in Go programming language, must pass Lint and Vet without warnings, and must have at least 20% test coverage. The service is stateless, should not store or record any information, and it should allow concurrent access from multiple clients at the same time.

Invocation

Response

Response Payload

{
    "project": {
        "type": "string"
    },
    "owner": {
        "type": "string"
    },
    "committer": {
        "type": "string"
    },

    "commits": {
        "type": "number"
    },
    "language": {
        "array": {
            "items": {
                "type": "string"
            }
        }
    }
}

Example:

{
    "project": "kafka",
    "owner": "apache",
    "committer": "enothereska",
    "commits": 19,
    "language": ["Java", "Scala", "Python", "Shell", "Batchfile"]

}

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.