A .NET Core Web API application that connects to a developer's GitHub account and displays their public portfolio in a structured and customizable way.
This application fetches data from your GitHub account and displays information about your repositories. It also supports public repository search.
- Connects to a personal GitHub account
- Displays personal repositories with:
- Programming languages used
- Date of last commit
- Number of stars ⭐
- Number of pull requests
- Link to repository
- Public GitHub search:
- By repository name
- By language
- By GitHub username
- GitHubPortfolio.Service – A Class Library project that handles communication with GitHub via Octokit.
- GitHubPortfolio.Api – The Web API project that exposes the endpoints.
- ASP.NET Core 6 Web API
- Octokit.NET
- In-Memory Caching
- Dependency Injection
- Options Pattern
- Scrutor (for decorator pattern)
To access private account data, create a personal access token on GitHub.
Guide: Creating a personal access token
dotnet user-secrets init
dotnet user-secrets set "GitHub:Username" "your-username"
dotnet user-secrets set "GitHub:Token" "your-token"