GroBit-App

🪴 GroBit - Your Local-First Habit Tracker

Flutter Riverpod Hive Platform

GroBit is a beautifully crafted, privacy-centric habit tracker built from the ground up with Flutter. Designed with a “Modern Journal” aesthetic, it helps users build routines, track streaks, and execute deep work—all without requiring an internet connection or cloud account. Your data belongs to you.


✨ Key Features


🏗️ App Architecture

GroBit is built using strict Clean Architecture principles to ensure the codebase remains scalable, testable, and highly maintainable.

The app is divided into three distinct layers:

  1. Presentation Layer: Handles UI and state management using Riverpod. State is kept highly reactive, ensuring the UI perfectly reflects the database without manual rebuilds or prop drilling.
  2. Domain Layer: Contains the core business logic, entities (HabitEntity), and Use Cases (e.g., AddHabitUseCase, ImportCSVUseCase).
  3. Data Layer: Manages local storage using Hive (a blazing-fast NoSQL database) and implements the repositories. Highly sensitive data (like the PIN) is routed through a secure keystore.

🛠️ Tech Stack

🚀 Getting Started

Follow these steps to run GroBit on your local machine.

Prerequisites

Installation

  1. Clone the repository: ```bash git clone https://github.com/sandip3022/Habit-Tracker-App.git