This project contains a GitHub API for retrieving data about a user's repositories and associated tests.
- Open it in your preferred IDE.
- Select SDK as Java 17
- Store the generated API token from GitHub in the token variable of the GitHubService class for authorization purposes
- Run DemoApplication.main().
- In your preferred API tool, create a GET request with the following URL: http://localhost:8080/apiv1/repositories/{username}.
- In the username field, enter the GitHub username.
- Add the header: Accept: application/json.
- Project requires Java 17
- The API does not return data in XML format. To test the error handler, add the header: Accept: application/xml.
- The API handles a 404 error by returning an error message in JSON format.