https://github.com/ppirog/githubapisearcher
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.
https://github.com/ppirog/githubapisearcher
docker-compose feign-client hibernate http-requests postgresql rest-api spring-boot
Last synced: 4 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/ppirog/githubapisearcher
- Owner: ppirog
- Created: 2023-11-02T19:29:49.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-04-03T13:09:34.000Z (almost 2 years ago)
- Last Synced: 2025-07-14T21:35:13.918Z (6 months ago)
- Topics: docker-compose, feign-client, hibernate, http-requests, postgresql, rest-api, spring-boot
- Language: Java
- Homepage:
- Size: 91.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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

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

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