Your AI Weekly Study Planner for Stressful Semesters
WeekPlanr is a production-grade full-stack MERN web application built for university students who struggle to manage assignments, quizzes, projects, and exams every semester.
Unlike generic to-do apps, WeekPlanr uses AI to intelligently build your weekly study schedule โ prioritizing tasks by deadline proximity, subject importance, and task type. With drag-and-drop planning, a deadline radar, auto-archive, and browser push notifications, you'll never miss a submission again.
Built specifically for the semester system โ where multiple deadlines collide every week.
Every semester, university students face the same four problems:
- Overwhelming workload โ multiple subjects, assignments, quizzes, and exams with no clear plan
- Missed deadlines โ no system to track what's due and when
- Poor prioritization โ hard to tell which task needs attention right now
- No structure โ studying without a day-by-day plan leads to cramming and burnout
WeekPlanr solves all four with AI-generated weekly schedules, deadline radar visualization, smart browser notifications, and drag-and-drop planning.
| Feature | Description |
|---|---|
| ๐ง AI Weekly Schedule | AI creates a smart day-by-day plan โ prioritized by urgency, task type, and weak areas |
| ๐ Drag & Drop Planning | Rearrange tasks freely with @hello-pangea/dnd โ changes sync instantly |
| ๐จ Deadline Radar | Three-zone urgency view: Critical (โค24h), Warning (2โ3 days), Safe (4+ days) |
| ๐ Smart Notifications | Browser push notifications at 24h, 6h, and deadline time for every task |
| ๐คฏ Overwhelm Mode | AI keeps your 3 most urgent tasks today, shifts the rest to tomorrow automatically |
| ๐ Progress Dashboard | Visual breakdown of completed vs pending tasks per subject |
| ๐๏ธ Auto-Archive | Overdue tasks auto-mark as completed โ keeps your weekly view clean |
| ๐ Dark & Light Mode | Full theme support persisted across sessions |
| ๐ JWT + Google OAuth | Secure email/password login or one-click Google sign-in |
| ๐ก๏ธ Rate Limiting | Smart rate limiting on all endpoints to prevent abuse and spam |
| ๐จ Smooth Animations | Page transitions and micro-interactions via Framer Motion |
Frontend
- React 19 + Vite 8
- React Router v7
- Axios
- Tailwind CSS 4
- Framer Motion 12
- Lucide React (icons)
@hello-pangea/dnd(drag & drop)@react-oauth/google(Google OAuth)react-hot-toast(notifications)
Backend
- Node.js + Express 4
- MongoDB Atlas + Mongoose 8
- JWT Authentication + bcryptjs
- AI API Integration
- express-rate-limit
- Helmet (security headers)
- Google Auth Library
All endpoints are protected against spam and abuse:
| Scope | Limit | Window |
|---|---|---|
All /api routes |
100 requests | 15 min |
/api/auth/login |
5 attempts | 15 min |
/api/auth/register |
3 accounts | 1 hour |
- Node.js 18+
- MongoDB Atlas account (free tier works)
- AI API key
- Google OAuth Client ID (from console.cloud.google.com)
git clone https://github.com/muhammadkhuzaima25/WeekPlanr.git
cd WeekPlanrcd server
npm installCreate server/.env:
PORT=5000
MONGO_URI=mongodb+srv://<user>:<pass>@cluster.xxxxx.mongodb.net/weekplanr
JWT_SECRET=your_long_random_secret
JWT_EXPIRES_IN=7d
CLIENT_URL=http://localhost:5173
AI_API_KEY=your_ai_api_key
GOOGLE_CLIENT_ID=your_google_client_idStart backend:
npm run devcd client
npm installCreate client/.env:
VITE_API_BASE_URL=http://localhost:5000/api
VITE_GOOGLE_CLIENT_ID=your_google_client_idStart frontend:
npm run devOpen http://localhost:5173 in your browser.
WeekPlanr/
โโโ client/ # React + Vite Frontend
โ โโโ public/
โ โ โโโ WeekPlanr.svg # Logo / Favicon
โ โโโ src/
โ โโโ components/ # Navbar, Footer, Sidebar, TaskCard, WeekGrid, etc.
โ โโโ context/ # AuthContext, ThemeContext
โ โโโ pages/ # Landing, WeeklyPlan, AddTask, DeadlineRadar, etc.
โ โโโ services/ # Axios API client
โ โโโ App.jsx # Router setup
โ โโโ main.jsx # Entry point
โ โโโ index.css # Tailwind + theme variables
โ
โโโ server/ # Node + Express Backend
โโโ src/
โ โโโ config/ # MongoDB connection
โ โโโ controllers/ # auth, task, subject, schedule, progress
โ โโโ middleware/ # authMiddleware, rateLimiter
โ โโโ models/ # User, Task, Subject, ScheduleDay
โ โโโ routes/ # auth, tasks, subjects, schedule, progress, archive
โ โโโ utils/ # aiService, autoArchive
โ โโโ server.js # Express app entry
โโโ .env
โโโ package.json
| Method | Path | Description |
|---|---|---|
| POST | /register | Create new account |
| POST | /login | Login, returns JWT |
| POST | Google OAuth login/signup | |
| GET | /me | Get current user (protected) |
| PUT | /update | Update profile (protected) |
| Method | Path | Description |
|---|---|---|
| GET | / | Get all user tasks |
| POST | / | Create a new task |
| PUT | /:id | Update a task |
| DELETE | /:id | Delete a task |
| Method | Path | Description |
|---|---|---|
| GET | / | Get all subjects |
| POST | / | Create a subject |
| PUT | /:id | Update a subject |
| DELETE | /:id | Delete a subject |
| Method | Path | Description |
|---|---|---|
| POST | /generate | AI-generate weekly schedule |
| POST | /optimize | Optimize existing schedule with AI |
| POST | /overwhelm | Keep top 3 urgent tasks, shift rest to tomorrow |
| Method | Path | Description |
|---|---|---|
| GET | / | Get progress stats per subject |
| Method | Path | Description |
|---|---|---|
| GET | / | Get auto-archived overdue tasks |
- Email reminders โ 24h before deadline
- Google Calendar sync
- Collaborative groups โ share tasks with classmates
- Mobile app โ React Native version
- Pomodoro / Study timer integration
- File attachments โ upload assignment PDFs
AI study planner ยท weekly study planner for students ยท semester planner app ยท student productivity app ยท AI schedule generator ยท university student planner ยท deadline tracker students ยท assignment and quiz tracker ยท drag and drop study planner ยท overwhelm mode study app ยท MERN stack portfolio project ยท React Node.js MongoDB Express ยท Pakistani university student app ยท smart semester organizer ยท academic planner 2026 ยท free study planner ยท AI powered task prioritization ยท Vercel Render deployment
Muhammad Khuzaima Graphic Designer ยท Logo & Brand Identity Expert ยท UI/UX Designer ยท MERN Stack Developer
All Rights Reserved. Copyright ยฉ 2026 Muhammad Khuzaima. This project is for viewing and evaluation only. See LICENSE for full terms.
โญ If WeekPlanr helped you organize your semester โ please leave a star!
Built from scratch with real debugging, designing, and grinding.
A star costs nothing but means everything. ๐

