A modern, full-stack productivity and study-management web application designed to help users improve focus, track study sessions, manage tasks, create flashcards, and analyze their performance. Built with Next.js 15, React 19, TypeScript, Prisma, PostgreSQL, Clerk Auth, and Tailwind CSS.
- Real-time session tracking
- Daily/weekly stats
- Focus score & distraction analysis
- Exportable reports (CSV)
- Distraction logging
- Custom Pomodoro cycles
- Offline-safe tracking with sync on reconnect
- Rich-text notes
- Subject categorization
- File attachments
- Create decks
- Study/review flow
- Auto-reminder scheduling
- Drag-and-drop task board
- Per-subject progress tracking
- Due dates, reminders
- Subject tags
- Weekly summary emails
- Study goals
- Theme selection
- GDPR-compliant data export/delete
- Next.js 15 (App Router)
- React 19
- TypeScript
- Tailwind CSS + shadcn/ui
- Zustand (state management)
- React Query / SWR (optional caching)
- Recharts (analytics visuals)
- Prisma ORM
- PostgreSQL
- Next.js Route Handlers / API Routes
- Firebase Analytics (optional realtime)
- Sentry (error tracking)
- Clerk (passwordless auth, SSO, secure session management)
- Vercel (Next.js hosting)
- Neon / Supabase / ElephantSQL (PostgreSQL)
- GitHub Actions (CI/CD)
- Prettier, ESLint, Turbopack
Client (Next.js + React)
│
▼
Clerk Authentication
│
▼
Next.js API Routes ───── Prisma ───── PostgreSQL
│
▼
Firebase Analytics ── Sentry Monitoring
/
├── app/
│ ├── dashboard/
│ ├── study/
│ ├── flashcards/
│ ├── api/
│ └── layout.tsx
├── components/
├── lib/
├── prisma/
│ └── schema.prisma
├── public/
├── styles/
├── package.json
├── README.md
└── tsconfig.json
git clone https://github.com/jeeva-m-21/StudyLoom
cd project-namenpm installor
pnpm installCreate a .env file:
DATABASE_URL="postgresql://<user>:<pass>@<host>:<port>/<db>"
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=""
CLERK_SECRET_KEY=""
NEXT_PUBLIC_FIREBASE_API_KEY=""
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=""
NEXT_PUBLIC_FIREBASE_PROJECT_ID=""
npx prisma generate
npx prisma db pushnpm run devAdd screenshots once the UI is built.
- Auth setup
- Dashboard skeleton
- Timer basics
- Session logging
- Database integration
- Pomodoro & Focus Mode
- Notes
- Flashcards
- Kanban board
- UI polishing
- Testing
- CI/CD
- Deployment
- Documentation
- Secure user sessions (Clerk)
- Encrypted DB fields
- Sanitized API inputs
- CSRF protection
- GDPR-compliant data export/delete
This project is for academic/portfolio/demo purposes unless otherwise specified.