Skip to content

Latest commit

Β 

History

History
125 lines (88 loc) Β· 2.96 KB

File metadata and controls

125 lines (88 loc) Β· 2.96 KB

GitInsights Pro

πŸ“– README | πŸ’‘ IDEATION | πŸ“Š ER Diagram

GitHub Analytics Dashboard for developer productivity insights.

πŸ› οΈ Tech Stack

Frontend: React 18 β€’ Vite 5 β€’ Tailwind CSS β€’ Hero UI β€’ Recharts β€’ React Router
Backend: Node.js 18+ β€’ Express 4 β€’ Prisma 5 β€’ MySQL
External: GitHub API β€’ GitHub OAuth

πŸš€ Quick Start

# Backend
cd backend
npm install
npm run dev

# Frontend
cd frontend
npm install
npm run dev

Frontend: http://localhost:5173
Backend: http://localhost:3000

Environment Setup

backend/.env

DATABASE_URL="mysql://user:password@localhost:3306/gitinsights"
GITHUB_CLIENT_ID=your_client_id
GITHUB_CLIENT_SECRET=your_client_secret
JWT_SECRET=your_jwt_secret
SESSION_SECRET=your_session_secret
PORT=3000

frontend/.env

VITE_API_URL=http://localhost:3000

πŸ“Š Progress

βœ… Week 1: Foundation & MVP

Setup & Infrastructure βœ“

  • Monorepo structure β€” TechGenie-awake
  • Backend setup (Node + Express + Prisma + MySQL) β€” TechGenie-awake
  • Frontend setup (React + Vite + Tailwind) β€” [Name]
  • Git workflow & environment config β€” [Name]

Core Features

  • Landing page β€” Mridul012
  • Complete folder structure β€” krishx06
  • Database schema β€” TechGenie-awake
  • Express API (languages, contributors, commits, stats) β€” Lex-Ashu

Authentication πŸ”„

  • GitHub OAuth SignIn UI β€” krishx06
  • OAuth app configuration β€” krishx06
  • Complete auth endpoints (/auth/login, /auth/callback, /auth/me) β€” krishx06
  • Protected routes & JWT management β€” krishx06
  • User profile component β€” [Name]

First Chart πŸ“Š

  • /api/repos & /api/repos/:id/commits endpoints β€” [Name]
  • Repository selector dropdown β€” [Name]
  • Commit timeline chart (Recharts) β€” [Name]
  • Loading states & error handling β€” [Name]
  • Date range filter (7d, 30d, 90d, all) β€” [Name]

🎯 Week 2: Core Analytics (Next)

Multiple Visualizations

  • Language distribution pie chart
  • Contributor bar chart
  • Activity heatmap
  • Statistics cards
  • File change analysis

Repository Management

  • Bulk sync endpoint
  • Search/filter repositories
  • Favorite repositories
  • Multi-repo comparison
  • Chart export (PNG/CSV)

Polish

  • Bug fixes & UI improvements
  • Performance optimization
  • Responsive design

Deliverable: Dashboard with 5+ chart types

πŸ‘₯ Contributors

  • TechGenie-awake β€” Backend infrastructure, database schema
  • Mridul012 β€” Landing page
  • krishx06 β€” Folder structure, OAuth integration
  • Lex-Ashu β€” API development

πŸ“ Recent Activity

  • βœ… Merged login UI feature (PR #4)
  • βœ… GitHub OAuth SignIn added
  • βœ… Express API endpoints created
  • βœ… Folder structure completed

Latest Commits: Oct 29-30, 2025