A smart web app / PWA that helps you track habits, maintain streaks, and build a consistent daily routine
Live version: HabitFlow
- Daily Habit Tracking: Add, complete, edit and remove habits
- Streak System: Auto-calculated streaks based on daily activity
- Progress Charts: Visual graphs using Recharts
- Dark Mode: Smooth theme switching with persistence
- PWA Ready: Installable app with manifest + service worker
- Local Storage: Saves habits and streaks automatically
- Responsive UI: Works perfectly on mobile and desktop
- Favicon: Clean app icon for browser and PWA
- Vite — Modern build tool
- React / TypeScript — User interface
- Recharts — Progress visualization
- Tailwind CSS — Styling
- Lucide Icons — Icons
- Vercel — Deployment
├── index.html # Main HTML file
├── package.json # Dependencies and scripts
├── vite.config.ts # Vite configuration
├── public/
│ ├── manifest.json # PWA manifest
│ ├── sw.js # Service worker
│ └── icon.svg # App icon / favicon
├── src/
│ ├── main.tsx # Entry point
│ ├── App.tsx # Main App component
│ ├── index.css # Global styles
│ ├── components/ # Reusable components
│ ├── screens/ # Screens (Today, Stats, etc.)
│ ├── context/ # Habit context provider
│ └── utils/ # Helper functions
└── .env.local # Environment variables (if needed)
- Clone the repository
git clone https://github.com/maliha63/habitflow.git
cd habitflow- Install dependencies
npm install- Run development server
npm run dev- Build for production
npm run build- Open the app in your browser (
http://localhost:5173) - Add your daily habits
- Mark habits as done
- Track streaks and view charts
- Switch themes when needed
- Install as a PWA if desired
npm run dev— Start development servernpm run build— Build production-ready appnpm run preview— Preview production build
- Fork the repository
- Create a feature branch (
git checkout -b feature/my-feature) - Make changes and test locally
- Commit (
git commit -m "Add feature") - Push (
git push origin feature/my-feature) - Open a Pull Request
Tips:
- Follow existing code style
- Test changes before submitting
- Document new features / changes in the README
This project is licensed under the MIT License.
- Author: Maliha Bathool C — malihabathoolc@gmail.com
- GitHub: https://github.com/maliha63
- Live App: https://habit-flow.vercel.app/
Built with ❤️ using Vite, React, and TypeScript

