A React app that visualizes any GitHub user's contribution history, language breakdown, and top repositories using the GitHub REST and GraphQL APIs.
Live: https://dev-dashboard-eight-liart.vercel.app
- Profile card with avatar, bio, location, follower/following count
- Contribution heatmap (last 52 weeks, GitHub-style)
- Language breakdown donut chart (Recharts)
- Top 6 repositories sorted by stars
- Summary stats bar: commits, PRs, issues, repos
- Loading skeletons (no spinners)
- Dark/light mode via CSS variables (follows OS preference)
- Fully responsive — tested at 375px
- Rate limit indicator with friendly 403 error messages
git clone https://github.com/B0OGI3/dev-dashboard.git
cd dev-dashboard
npm installGo to GitHub → Settings → Developer settings → Personal access tokens → Tokens (classic) and generate a token with the read:user scope.
cp .env.example .envEdit .env:
VITE_GITHUB_CLIENT_ID=your_github_oauth_app_client_id
VITE_GITHUB_TOKEN=ghp_your_personal_access_token
VITE_GITHUB_TOKENis required for the GraphQL contribution graph. Without it, all REST API features still work (60 req/hr unauthenticated, 5000 req/hr authenticated).
npm run devOpen http://localhost:5173 and search any GitHub username.
npm install -g vercel
vercel --prodSet VITE_GITHUB_TOKEN and VITE_GITHUB_CLIENT_ID in your Vercel project's Environment Variables dashboard before deploying.
- React 19 + Vite 6
- React Router 7
- Recharts — language donut chart
- Axios — REST API calls
- GitHub REST API v3 + GraphQL API v4
