Skip to content

NadeeshaMedagama/HabitTracker_mobile_application_with_react-native

Repository files navigation

🎯 HabitTracker

HabitTracker Logo

Build Better Habits, Transform Your Life

A beautifully designed mobile application built with React Native and Expo to help users create, track, and maintain healthy daily habits with ease.

React Native Expo TypeScript License

πŸ“± Download APK β€’ πŸŽ₯ Demo Video β€’ πŸ“‹ Features β€’ πŸš€ Getting Started


πŸŽ₯ Demo

HabitTracker Demo Video

🎬 Watch Full Demo Video

Click the image above or the link to see HabitTracker in action

πŸ“± Screenshots

Home Screen Light Home Screen Dark Habits List Progress Chart

✨ Features

🎯 Core Features

  • Create & Manage Habits - Add new habits with custom names, descriptions, and colors
  • Daily Tracking - Mark habits as complete or incomplete with a simple tap
  • Progress Visualization - View your progress with beautiful calendar views and interactive charts
  • Smart Notifications - Get reminded about your habits at the perfect time
  • Theme Support - Switch between elegant dark and light themes

πŸ”§ Advanced Features

  • Streak Tracking - Monitor your longest streaks and current progress
  • Habit Categories - Organize habits by categories (Health, Productivity, Personal, etc.)
  • Weekly/Monthly Views - Analyze your performance over different time periods
  • Export Data - Backup your progress and export statistics
  • Offline Support - Works perfectly without internet connection

🎨 User Experience

  • Intuitive Interface - Clean, modern design that's easy to navigate
  • Smooth Animations - Delightful micro-interactions and transitions
  • Responsive Design - Optimized for all screen sizes
  • Accessibility - Built with accessibility best practices

πŸš€ Getting Started

Prerequisites

Before you begin, ensure you have the following installed:

πŸ“² Installation

  1. Clone the repository

    git clone https://github.com/yourusername/habittracker.git
    cd habittracker
  2. Install dependencies

    npm install
    # or
    yarn install
  3. Start the development server

    npx expo start
  4. Run on your device

  • Install Expo Go on your mobile device
  • Scan the QR code displayed in your terminal
  • Or press a for Android emulator, i for iOS simulator

πŸ”§ Development Setup

# Install dependencies
npm install

# Start development server
npm start

# Run on Android
npm run android

# Run on iOS
npm run ios

# Run on web
npm run web

# Build for production
npm run build

πŸ—οΈ Built With

Core Technologies

UI & Styling

Data & Storage

Additional Libraries

πŸ“± App Architecture

src/
β”œβ”€β”€ components/          # Reusable UI components
β”‚   β”œβ”€β”€ common/         # Common components (Button, Input, etc.)
β”‚   β”œβ”€β”€ habits/         # Habit-specific components
β”‚   └── charts/         # Chart and visualization components
β”œβ”€β”€ screens/            # Screen components
β”‚   β”œβ”€β”€ HomeScreen/     # Main dashboard
β”‚   β”œβ”€β”€ HabitsScreen/   # Habits management
β”‚   β”œβ”€β”€ ProgressScreen/ # Progress visualization
β”‚   └── SettingsScreen/ # App settings
β”œβ”€β”€ navigation/         # Navigation configuration
β”œβ”€β”€ services/          # API and data services
β”œβ”€β”€ store/             # Redux store and slices
β”œβ”€β”€ utils/             # Helper functions and utilities
β”œβ”€β”€ hooks/             # Custom React hooks
β”œβ”€β”€ constants/         # App constants and themes
└── types/             # TypeScript type definitions

🎨 Design System

Colors

const colors = {
  primary: '#6366F1',
  secondary: '#8B5CF6',
  success: '#10B981',
  warning: '#F59E0B',
  error: '#EF4444',
  // ... more colors
}

Typography

  • Headings: Inter Bold
  • Body Text: Inter Regular
  • Captions: Inter Medium

πŸ“Š Features in Detail

🎯 Habit Management

  • Create habits with custom names, descriptions, and icons
  • Set habit frequency (daily, weekly, custom)
  • Organize habits into categories
  • Archive or delete habits

πŸ“… Progress Tracking

  • Visual calendar with completion status
  • Streak counters and statistics
  • Monthly and yearly overview
  • Progress charts and analytics

πŸ”” Smart Notifications

  • Customizable reminder times
  • Motivational messages
  • Streak milestone celebrations
  • Daily summary notifications

🀝 Contributing

We love contributions! Please see our Contributing Guide for details.

Development Process

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Code Style

  • Follow ESLint and Prettier configurations
  • Use TypeScript for type safety
  • Write meaningful commit messages
  • Add tests for new features

πŸ§ͺ Testing

# Run unit tests
npm test

# Run tests with coverage
npm run test:coverage

# Run E2E tests
npm run test:e2e

πŸ“¦ Building for Production

Android

# Build APK
expo build:android

# Build AAB (recommended for Play Store)
expo build:android -t app-bundle

iOS

# Build IPA
expo build:ios

πŸš€ Deployment

The app can be deployed through:

  • Expo Application Services (EAS) - Recommended
  • Manual builds using Expo CLI
  • Direct submission to app stores

πŸ“± Download

Get it on Google Play Download on the App Store

Or download the APK directly: πŸ“± Download APK

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ‘₯ Team

Your Name
Nadeesha

DevOps Enthusiast

πŸ™ Acknowledgments

πŸ“ž Support

Having issues? We're here to help!

πŸ—ΊοΈ Roadmap

πŸ”„ Version 2.0 (Coming Soon)

  • Social features - Share progress with friends
  • Habit templates and community suggestions
  • Advanced analytics and insights
  • Wearable device integration
  • Habit coaching and tips

🎯 Future Features

  • Web application companion
  • Team habit challenges
  • Integration with health apps
  • AI-powered habit recommendations
  • Multi-language support

Made with ❀️ for habit builders everywhere

⭐ Star this repository if you found it helpful!

HabitTracker Β© 2024. All rights reserved.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors