WallpaperMachine
The wallpapers you love. A new home on your Mac.
Free personal life tracker — track habits, streaks, sleep, food (Indian meals), study hours, expenses, and daily journal. Build better habits and achieve your goals. By Ratnesh Maurya.
LifestyleTypeScript · PythonGitHub @ratnesh-mauryaOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
A comprehensive personal life tracker web app built with Next.js. Track habits, sleep, food, study sessions, expenses, and journal entries. Features interactive analytics, streak tracking, PWA support, and beautiful UI with dark mode. Free, secure, and designed to help you build better habits and achieve your goals.
Loading the full README.
Read the full README ↗A production-ready, mobile-first personal tracker web app built with Next.js, TypeScript, and MongoDB.
git clone <repository-url>
cd tracker.ratnesh-maurya.com
npm install
cp .env.example .env.local
Edit .env.local and add your MongoDB URI:
MONGODB_URI=mongodb+srv://username:[email protected]/
JWT_SECRET=your-super-secret-jwt-key
JWT_REFRESH_SECRET=your-super-secret-refresh-key
NEXT_PUBLIC_APP_URL=http://localhost:3000
npm run dev
/app
/(auth) # Authentication pages
/(dashboard) # Protected dashboard pages
/api # API route handlers
/components # Reusable UI components
/lib
/db # Database utilities
/auth # Authentication utilities
/analytics # Analytics logic
/recommendations # Recommendation logic
/models # Mongoose models
/hooks # React hooks
/types # TypeScript types
/tests # Test files
/scripts # Utility scripts
/public # Static assets
POST /api/auth/register - Register new userPOST /api/auth/login - Login userPOST /api/auth/refresh - Refresh access tokenPOST /api/auth/logout - Logout userGET /api/habits - Get all habitsPOST /api/habits - Create habitGET /api/habits/[id] - Get habitPATCH /api/habits/[id] - Update habitDELETE /api/habits/[id] - Delete habitGET /api/habits/[id]/checkins - Get check-insPOST /api/habits/[id]/checkins - Create check-inSimilar patterns for /api/sleep, /api/food, /api/study, /api/expenses, /api/journal
GET /api/analytics/summary - Get analytics summaryGET /api/recommendations/daily - Get food recommendationsnpm run dev - Start development servernpm run build - Build for productionnpm run start - Start production servernpm run lint - Run ESLintnpm test - Run testsnpm run test:e2e - Run E2E testsnpm run seed - Seed database with sample dataThis app is ready for deployment on Vercel:
MIT
This is a personal project, but suggestions and improvements are welcome!