Simple API to retrieve statistics about GitHub users & their repositories
In this example API a proxy API to GitHub has been build with NodeJS and the Loopback 4 TypeScript framework
Currently the API provides following features:
- list filtered information about a GitHub user's own repositories using a custom REST datasource + service
- error handling when the user cannot be found via parsing GitHub errors and configuring a custom 'reject' Sequence Action
- error handling when the GitHub API is not reachable
- error handling for unsupported header values in an incoming request
The application can be started via a docker container and using this a deployment to Google Cloud Run is triggered on every 'push' to the branches 'master' and 'dev' via configured GitHub Actions: My Workflows