A React Native mobile application for tracking daily habits and building positive routines.
- Create and manage habits with custom frequencies (daily, weekly, monthly)
- Track habit completion with a simple tap
- View habit statistics and progress
- Clean and intuitive user interface
- Persistent storage using AsyncStorage
- Node.js (v14 or later)
- npm or yarn
- Expo CLI
- iOS Simulator (for Mac) or Android Studio (for Android development)
- Clone the repository:
git clone <repository-url>
cd habit-tracker- Install dependencies:
npm install
# or
yarn install- Start the development server:
npm start
# or
yarn start- Run on your preferred platform:
- Press
ito open in iOS simulator - Press
ato open in Android emulator - Scan the QR code with Expo Go app on your physical device
src/
├── screens/ # Screen components
│ ├── home-screen.tsx
│ ├── add-habit-screen.tsx
│ └── habit-detail-screen.tsx
├── services/ # Business logic and data management
│ └── habit-service.ts
└── types/ # TypeScript type definitions
└── habit.ts
-
View Habits
- Open the app to see your list of habits
- Each habit shows its name, description, frequency, and completion count
-
Add a New Habit
- Tap the "Add New Habit" button
- Fill in the habit details (name, description, frequency)
- Tap "Save Habit" to create
-
Track Habits
- Tap on a habit to view its details
- Use the "Mark as Complete" button to record completion
- View statistics and progress
-
Delete Habits
- Open habit details
- Tap "Delete Habit" to remove it
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.