A beautiful, modern habit tracking application built with Next.js 15 and the latest web technologies.
- 🎯 Smart Habit Tracking - Create, edit, and track your daily habits
- 📊 Visual Progress - Beautiful activity calendar showing your streaks
- 📱 Responsive Design - Works on desktop and mobile
- 🌓 Dark Mode - Toggle between light and dark themes
- 🔐 Secure Authentication - Powered by Supabase Auth
- 📈 Statistics - Track completion rates and streaks
- Next.js 15 - React framework with App Router
- TypeScript - Type-safe JavaScript
- Tailwind CSS - Utility-first CSS framework
- Supabase - Backend-as-a-Service with PostgreSQL
- Prisma - Database ORM
- shadcn/ui - UI components
- Node.js 18+
- npm or yarn or pnpm
-
Clone the repository
git clone https://github.com/Sham1ko/habit-tracker.git cd habit-tracker -
Install dependencies
npm install
-
Set up environment variables
cp .env.example .env.local
Fill in your environment variables:
# Supabase NEXT_PUBLIC_SUPABASE_URL=your_supabase_url NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key # Database DATABASE_URL=your_database_url
-
Run database migrations
npm run db:migrate
-
Start the development server
npm run dev
-
Open your browser
Visit http://localhost:3000 to see the app! 🎉
- Sign up or log in to your account
- Create your first habit by clicking "New Habit"
- Set a clear goal and choose frequency (daily, weekly, monthly)
- Track progress by marking habits as complete
- View streaks and statistics on the dashboard