Thanks for your interest in contributing!
- Fork the repo
- Clone your fork:
git clone https://github.com/<your-username>/gitpulse.git - Install dependencies:
npm install - Run dev server:
npm run dev - Open http://localhost:3000
app/page.tsx— main page with search, dashboard, and compare viewsapp/api/pulse/route.ts— API endpoint that fetches GitHub dataapp/components/Dashboard.tsx— single-user analytics dashboardapp/components/CompareView.tsx— side-by-side comparisonapp/components/RoleAnalysis.tsx— career fit analysis with role-based scoringapp/components/SearchBar.tsx— search input with compare toggle
Edit app/components/RoleAnalysis.tsx:
- Add the role key to the
RoleKeytype - Add it to the
ROLESarray - Add suggested profiles in
SUGGESTED_PROFILES - Add a scoring function (e.g.
analyzeNewRole) - Add the case to the switch in
analyzeRole
npm run build # type-check + build