Giter Site home page Giter Site logo

ppirog / githubapisearcher Goto Github PK

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

SPRING-BOOT, REST API excercise. 1) User enters github login. 2) After that app makes 2 HTTP requests to fetch needed data from Github API. 3) App sends response with needed data to user. To store data Postgre database is used.

Java 100.00%
feign-client http-requests rest-api spring-boot docker-compose postgresql hibernate

githubapisearcher's Introduction

GithubApiSearcher

Acceptance criteria:

FIRST As an api consumer, given username (ppirog) and header “Accept: application/json”, List all his github repositories, which are not forks.

Information, which I require in the response, is: Repository Name Owner Login For each branch it’s name and last commit sha image

SECOND As an api consumer, given not existing github user, I would like to receive 404 response in such a format:

{
“status”: ${responseCode},    
“Message”: ${whyHasItHappened}     
}

image

THIRD As an api consumer, given header “Accept: application/xml”, I would like to receive 406 response in such a format:

{
“status”: ${responseCode},   
“Message”: ${whyHasItHappened} 
}

image

githubapisearcher's People

Contributors

ppirog 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.