Skip to content

A mobile app for tracking and managing campus pets, including health monitoring, lost and found reporting, and general pet information. Built using Flutter and Firebase.

Notifications You must be signed in to change notification settings

abirmhasan/PetPatrol

Repository files navigation

🐾 Pet Patrol

📌 Overview

Pet Patrol is a Flutter-based mobile application designed to help users manage pet profiles, report lost/found pets, post adoption listings, schedule veterinary appointments, and communicate within the pet community. Built using Flutter & Firebase, the app provides a centralized platform for responsible pet care on campus.


✨ Implemented Features

✔️ User Authentication: Login, registration, and password recovery via Firebase Authentication.
✔️ User Profile Management: Users can create, update, and manage their personal profiles.
✔️ Pet Profile Management: Users can register pets with details and vaccination records.
✔️ Lost & Found Pet Reports: Users can post about missing or found pets in the community feed.
✔️ Pet Adoption Posts: Users can list pets for adoption and interact with interested adopters.
✔️ Real-time Messaging: Users can send messages to other app users.
✔️ Doctor Appointment Booking: Schedule veterinary appointments for cats and dogs.


🛠️ Tech Stack

  • Frontend: Flutter (Dart)
  • Backend: Firebase Firestore & Firebase Authentication
  • Cloud Storage: Firebase Storage (for pet images and user profiles)
  • Real-time Messaging: Firebase Firestore
  • State Management: Provider (if used)

🚀 Installation

✅ Prerequisites

  • Install Flutter SDKFlutter Install Guide
  • Set up Android Studio or VS Code with Flutter plugins
  • Create a Firebase project and enable Authentication, Firestore, and Storage

🔧 Setup Steps

1️⃣ Clone the Repository:
'git clone https://github.com/abirmhasan/PetPatrol.git'
'cd PetPatrol'

2️⃣ Install Dependencies:
'flutter pub get'

3️⃣ Configure Firebase:
Add google-services.json (for Android) inside android/app/
Add GoogleService-Info.plist (for iOS) inside ios/Runner/
Enable Firebase Authentication, Firestore, and Storage in the Firebase Console
4️⃣ Run the App:
'flutter run'

🏆 Challenges and Solutions

🔹 Challenge 1: Firebase Firestore Access Issues
Issue: Could not retrieve or update data due to Firestore rule misconfigurations.
Solution: Updated Firestore security rules and ensured authentication for proper access.

🔹 Challenge 2: Emulator and Android Studio Setup
Issue: The app failed to run on an emulator due to missing SDK components.
Solution: Installed missing dependencies and properly configured the emulator settings.

🔹 Challenge 3: Implementing Real-time Messaging
Issue: Synchronizing real-time messages between users was difficult.
Solution: Used Firestore's real-time updates and structured message collections properly.

🔹 Challenge 4: Doctor Appointment System
Issue: Managing appointment bookings with available slots was tricky.
Solution: Implemented Firestore to store and update appointment slots dynamically.

🎯 Future Enhancements

✅ Push Notifications: Notify users about new messages, lost pet reports, and adoption posts.
✅ Search & Filter: Allow users to search for pets and adoption posts efficiently.
✅ Offline Support: Enable users to access pet records without an internet connection.
✅ Admin Panel: Implement roles for managing community posts and pet records.

APK Link

https://drive.google.com/file/d/1QW4JDInVapYvwgWS8afDqyV--OW39Nh0/view?usp=sharing

Demo Video of the APP

https://youtu.be/_Y0Rzn6KzR8

About

A mobile app for tracking and managing campus pets, including health monitoring, lost and found reporting, and general pet information. Built using Flutter and Firebase.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published