Competitive Programming Analytics & Mentorship Platform for B.Tech Students
NightShift is a productivity-focused analytics platform that helps students improve their competitive programming performance using intelligent insights, analytics, and structured recommendations.
Not an online judge. Not a practice platform. A smart analytics layer on top of what you already do.
Coming soon after deployment
Add screenshots here after deployment
- Unified view across Codeforces, LeetCode, and CodeChef
- Real-time rating and statistics
- Rating history graph
- Top problem tags breakdown
- Analyzes your Codeforces submission history
- Identifies topics with low accuracy
- Generates intelligent insights like:
"You struggle with greedy problems. Only 34% accuracy across 23 attempts."
- Problems recommended based on your weak topics
- Matched to your current rating range
- Pulled from unsolved problems in your history
- Imports problems you got wrong on Codeforces
- Spaced repetition algorithm schedules reviews
- Mark problems as done to push them forward in time
- Solving streak tracker
- Monthly problems solved chart
- Peak coding hour detection
- Overall acceptance rate
- Full CodeChef profile scraping via custom FastAPI backend
- Rating, stars, and problems solved
- React + TypeScript
- TailwindCSS
- Recharts
- Framer Motion
- Supabase JS Client
- FastAPI (Python)
- BeautifulSoup4 (CodeChef scraping)
- httpx
- Uvicorn
- Supabase (PostgreSQL + Auth)
- Row Level Security
- Frontend → Vercel
- Backend → Render
nightshift/ ├── frontend/ # React + TypeScript app │ └── src/ │ ├── components/ # Reusable UI components │ ├── pages/ # Route-level pages │ ├── lib/ # API clients and utilities │ ├── hooks/ # Custom React hooks │ └── types/ # TypeScript interfaces └── backend/ # FastAPI server └── app/ ├── routes/ # API endpoints └── services/ # Business logic
- Node.js 18+
- Python 3.11+
- Supabase account (free)
cd frontend
npm install
cp .env.local.example .env.local
# Add your Supabase URL and anon key
npm run devcd backend
python -m venv venv
venv\Scripts\activate # Windows
pip install -r requirements.txt
uvicorn app.main:app --reload --port 8000Frontend .env.local:
VITE_SUPABASE_URL=your_supabase_url
VITE_SUPABASE_ANON_KEY=your_supabase_anon_key
Backend .env:
SUPABASE_URL=your_supabase_url
SUPABASE_SERVICE_KEY=your_service_role_key
FRONTEND_URL=http://localhost:5173
Run the SQL schema in Supabase SQL Editor:
- File:
supabase/schema.sql(coming soon)
- Burnout detection system
- Mobile app (React Native)
- AtCoder integration
- HackerRank integration
- Team/college leaderboards
- AI-powered personalized study plans
Akshay Singh
- GitHub: @Akshayy-singh
MIT License — feel free to use this project for learning and portfolio purposes.