dotcat-petcare

Dotcat PetCare - Cat Care Assistant

A comprehensive Flutter application for managing your cat’s health, reminders, and daily care routines.

🐱 Features

πŸ” Authentication

πŸš€ Getting Started

Prerequisites

Installation

  1. Clone the repository:
    git clone https://github.com/YOUR_USERNAME/dotcat.git
    cd dotcat
    
  2. Install dependencies:
    flutter pub get
    
  3. Firebase Setup:
    • Download GoogleService-Info.plist from Firebase Console (iOS)
    • Download google-services.json from Firebase Console (Android)
    • Place them in:
      • ios/Runner/GoogleService-Info.plist
      • android/app/google-services.json
  4. Configure Firebase Rules:
    • Firestore: Copy firestore.rules to Firebase Console β†’ Firestore β†’ Rules
    • Storage: Copy storage.rules to Firebase Console β†’ Storage β†’ Rules
  5. Run the app:
    flutter run
    

πŸ“± Build for Production

Android

  1. Create a keystore:
    keytool -genkey -v -keystore ~/dotcat-key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias dotcat
    
  2. Update android/app/build.gradle.kts with your keystore configuration

  3. Build:
    flutter build apk --release
    # or
    flutter build appbundle --release
    

iOS

  1. Open ios/Runner.xcworkspace in Xcode
  2. Configure signing & capabilities
  3. Build:
    flutter build ios --release
    

πŸ“‹ Project Structure

lib/
β”œβ”€β”€ core/           # Core utilities, services, constants
β”œβ”€β”€ data/           # Models and database
β”œβ”€β”€ features/       # Feature modules
β”‚   β”œβ”€β”€ auth/       # Authentication
β”‚   β”œβ”€β”€ cats/       # Cat management
β”‚   β”œβ”€β”€ reminders/  # Reminder management
β”‚   β”œβ”€β”€ weight/     # Weight tracking
β”‚   └── home/       # Home screen, calendar, settings
└── widgets/        # Reusable widgets

πŸ”§ Configuration

Firebase Setup

  1. Create a Firebase project at Firebase Console
  2. Enable Authentication methods:
    • Google Sign-In
    • Email/Password
    • Anonymous
  3. Create Firestore Database
  4. Create Cloud Storage bucket
  5. Configure security rules (see firestore.rules and storage.rules)

Android Configuration

iOS Configuration

πŸ“ Important Notes

πŸ› Known Issues

πŸ“„ License

[Your License Here]

πŸ‘₯ Contributing

[Contributing guidelines]

πŸ“ž Support

[Support contact information]