"Veri" (truth) + "Dynamic" (adaptability) β know yourself, improve consistently.
VERIDYN is a full-stack AI productivity platform that goes beyond simple task tracking. It analyzes your behavioral patterns over time β discipline score, performance tier, volatility, risk score, and streaks β to give you actionable intelligence about how you actually work, not just what you planned to do.
Built as a flagship personal project targeting software engineering internships.
Create an account and start logging study sessions β the heatmap and streak system update in real time.
- AI Productivity Coach β Groq-powered (LLaMA 3.1 70B) chat coach with your live data as context
- Risk Predictor β predicts discipline drops before they happen using streak, volatility, and trend analysis
- Study Pattern Analyzer β detects your best and worst productivity hours automatically
- AI Recommendations β personalized suggestions based on behavioral history
- Discipline Score β completion rate Γ 100, updated daily
- Performance Tiers β Elite (85%+), Gold (70β84%), Silver (50β69%), Bronze (<50%)
- Volatility Score β standard deviation of your discipline scores (Stable / Moderate / High)
- Risk Score β composite score from streak gaps, declining trend, and missed goals
- Weekly Performance β this week vs last week comparison with trend direction
- Built-in start/pause/stop study timer
- Sessions auto-save to your daily log
- GitHub-style Productivity Heatmap β squares color up based on goal completion rate
- Streak system β consecutive days of hitting your daily study goal
- πͺ Streak coin celebration β animated popup when you hit your daily goal
- Create tasks with title, description, date, start/end time, priority
- Mark complete, delete, filter by status
- Auto-detects missed tasks based on current time
- Real-time completion progress bar
- Slide-out profile panel with 6 sub-views
- Edit display name and role
- Change password with validation
- Preferences β set daily study goal (drives heatmap + streaks), timezone, theme
- Help Center, What's New changelog, Keyboard Shortcuts
- Desktop: fixed sidebar navigation
- Mobile: bottom tab bar with glass blur effect
- iOS safe area support
| Layer | Technology |
|---|---|
| Frontend | React 18, React Router, Chart.js, Vite |
| Backend | Node.js, Express.js |
| Database | MongoDB Atlas, Mongoose |
| AI Provider | Groq (LLaMA 3.1 70B) β Anthropic fallback |
| Auth | JWT (JSON Web Tokens) |
| Deployment | Vercel (frontend) + Render (backend) |
| Styling | Custom CSS β Obsidian Intelligence dark theme |
veridyn/
βββ frontend/
β βββ src/
β β βββ components/
β β β βββ Navbar.jsx # Sidebar + mobile bottom bar
β β β βββ ProfilePanel.jsx # Right-side slide panel
β β β βββ StudyTimer.jsx # Start/stop study timer
β β β βββ StreakCelebration.jsx # Coin popup animation
β β β βββ ProductivityCalendar.jsx # GitHub-style heatmap
β β βββ pages/
β β β βββ Dashboard.jsx # Performance overview
β β β βββ Tasks.jsx # Task manager
β β β βββ Insights.jsx # AI analytics hub
β β βββ hooks/
β β β βββ useDashboardData.js # All dashboard API calls
β β βββ styles/ # Per-page CSS modules
β
βββ backend/
β βββ models/
β β βββ User.js
β β βββ Task.js
β β βββ StudyLog.js # Timer sessions + chapter logs
β β βββ Subject.js
β βββ routes/
β β βββ auth.routes.js
β β βββ task.routes.js
β β βββ studyLog.routes.js # Timer session endpoints
β β βββ stats.routes.js # 8 analytics endpoints
β β βββ user.routes.js
β β βββ ai.routes.js
β βββ middleware/
β β βββ auth.middleware.js
β β βββ rateLimiter.js
β βββ server.js
POST /api/auth/register
POST /api/auth/login
GET /api/tasks
POST /api/tasks
PATCH /api/tasks/:id
DELETE /api/tasks/:id
GET /api/tasks/next
POST /api/study-logs/session # Save a timer session
GET /api/study-logs/today # Today's progress
GET /api/study-logs/heatmap # Full heatmap data
GET /api/stats/dashboard # Main metrics summary
GET /api/stats/weekly # Last 7 days breakdown
GET /api/stats/weekly-performance # This week vs last week
GET /api/stats/insights # Full behavioral analytics
GET /api/stats/history # Paginated session history
GET /api/stats/longest-streak # Current + all-time streak
GET /api/stats/monthly-aggregate # Month-by-month totals
GET /api/stats/calendar?year= # Heatmap data for a year
PUT /api/users/profile # Update name + role
PUT /api/users/change-password # Change password
- Node.js 18+
- MongoDB Atlas account (free tier works)
- Groq API key (free at console.groq.com)
git clone https://github.com/YOUR_USERNAME/veridyn.git
cd veridyncd backend
npm installCreate .env:
PORT=5000
MONGO_URI=your_mongodb_atlas_connection_string
JWT_SECRET=your_jwt_secret_key
GROQ_API_KEY=your_groq_api_keyStart backend:
npm run devcd frontend
npm installCreate .env:
VITE_API_URL=http://localhost:5000Start frontend:
npm run devhttp://localhost:5173
Discipline Score
score = (completed_tasks / total_tasks) Γ 100
Volatility
volatility = std_deviation(discipline_scores_last_30_days)
Risk Score
risk = (missed_days_last_7 / 7) Γ 100
Streak
streak = consecutive days where completionRate β₯ 1.0
Heatmap Color Intensity
completionRate 0.00 β empty (dark)
completionRate 0.01β0.25 β level 1
completionRate 0.25β0.50 β level 2
completionRate 0.50β0.75 β level 3
completionRate 0.75+ β level 4 (full glow)
Dashboard β Performance Overview
Tasks β Task Manager with priority system
Insights Hub β AI behavioral analytics
Mobile β Bottom navigation bar
(Add screenshots to /screenshots folder and link here)
- Created a secure and scalable REST API from the ground up with Express.js and MongoDB.
- JWT authentication flow with protected routes
- Real-time data aggregation β building analytics from raw logs
- Integrating LLM APIs (Groq / Anthropic) with user context injection
- Building a GitHub-style contribution heatmap from date-indexed data
- Deploying a split frontend/backend architecture (Vercel + Render)
- Mobile-first responsive design with iOS safe area handling
- LeetCode API integration β pull LC submissions into heatmap
- PWA support β installable on mobile
- Daily study reminders (push notifications)
- Light theme
- Team/friend leaderboard
Kashish 3rd Year B.Tech Computer Science β Kalam Institute of Technology
MIT License β feel free to fork and build on this.
Built with obsessive attention to detail. Every pixel, every algorithm, every endpoint β intentional.



