What this project does
The backend calls the GitHub REST API, filters out forked repositories, fetches repository branches, and exposes the result through a custom JSON endpoint.
Spring Boot REST API Demo
GitAPI fetches a public GitHub user's non-fork repositories, then returns each repository branch with the latest commit SHA. This page is a lightweight entry point for the live demo.
The backend calls the GitHub REST API, filters out forked repositories, fetches repository branches, and exposes the result through a custom JSON endpoint.
A public GitHub username such as octocat.
A readable HTML result plus access to the raw JSON returned by the REST API.
REST Endpoint
This demo page is only a wrapper. The backend endpoint below still works directly in browser, Postman, or curl.
GET /users/{username}/repositories
/users/octocat/repositories