{"id":22038758,"url":"https://github.com/sckonung/githubsearch","last_synced_at":"2026-04-12T21:49:42.009Z","repository":{"id":190415101,"uuid":"682480013","full_name":"scKonung/GitHubSearch","owner":"scKonung","description":"Simple GitHub repository searcch with using GitHub API","archived":false,"fork":false,"pushed_at":"2023-09-26T11:22:33.000Z","size":84,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-28T19:16:00.253Z","etag":null,"topics":["github","java","mvc-architecture","rest-api","spring-boot"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scKonung.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-08-24T09:03:51.000Z","updated_at":"2024-08-19T13:05:27.000Z","dependencies_parsed_at":"2023-09-26T13:25:18.317Z","dependency_job_id":"371c3550-b2d5-4a3e-a5fa-97a929bad123","html_url":"https://github.com/scKonung/GitHubSearch","commit_stats":null,"previous_names":["sckonung/githubsearch"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scKonung%2FGitHubSearch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scKonung%2FGitHubSearch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scKonung%2FGitHubSearch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scKonung%2FGitHubSearch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scKonung","download_url":"https://codeload.github.com/scKonung/GitHubSearch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245104460,"owners_count":20561377,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github","java","mvc-architecture","rest-api","spring-boot"],"created_at":"2024-11-30T11:07:43.198Z","updated_at":"2026-04-12T21:49:36.966Z","avatar_url":"https://github.com/scKonung.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Repositories Search By Username\n\n### 👨‍💻 Description\nTo use the application, you need to provide the GitHub username as a command-line argument. The application will then retrieve the user's repositories that are not forks and display their details in format:\n```json\n{\n        \"name\": \"${repository_name}\",\n        \"ownerLogin\": \"${owner_login}\",\n        \"branches\": [\n            {\n                \"name\": \"${branche_name}\",\n                \"commitSha\": \"${last_commit_sha}\"\n            }\n        ]\n}\n\n\n```\n\n### 💬: Response Format\n- Header: “Accept: `application/json`”\n- Body:\n  ```json\n  {\n  \"username\":\"${username}\"\n  }\n  ```\n\n### ⁉️ Error Handling\nThe application handles different scenarios as specified in the acceptance criteria:\nWhen user give username, which is not exict, application return:\n\n- If the user does not exist, a `404` response is returned with an appropriate error message.\n  ```json\n  {\n  \"status\": 404,\n    \"message\": \"User with username:${username} not found in GitHub\"\n  }\n  ```\n- If the `Accept` header is set to `application/xml`, a `406` response is returned with a message.\n   ```json\n    {\n  \"status\": 406,\n    \"message\": \"Unsupported xml type. Only JSON is supported.\"\n  }\n   ```\n### 👨‍🏫: Tecnology Stack\n- Java 17\n- Maven 4.0\n- Spring Boot 3.1.2\n### ✈️: Getting Started\n  1. Clone this repository to your local machine.\n  2. Navigate to the project's root directory and execute the following commands in your terminal:\n     ```bash\n     ./mvnw clean install\n     ./mvnw spring-boot:run\n     ```\n  3. Once the application is successfully started, you can access it by opening your web browser and going to: `http://localhost:8080/get`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsckonung%2Fgithubsearch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsckonung%2Fgithubsearch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsckonung%2Fgithubsearch/lists"}