Skip to content

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

Notifications You must be signed in to change notification settings

BredeFK/Cloud-Assignment-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"]

}

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages