← All projects
Diploma ProjectAndroid

HomePaw

Pet adoption app with AI-powered content moderation via Gemini API. Real business logic, full auth flow, SQLite + PostgreSQL, image recognition.

React NativeExpoFirebaseTypeScriptGemini API
The Problem

Pet shelters need a modern way to showcase animals for adoption. Traditional social media posts lack structured search, real-time availability, and moderation — leading to outdated listings and poor user experience.

The Solution

A React Native pet adoption app with AI-powered image moderation via Gemini API, real-time database sync, and a clean, intuitive UI. Auth, search, favorites, and a full adoption workflow.

Architecture

Expo managed workflow with Firebase Auth, Firestore for real-time data, Gemini API for content moderation of pet photos. State managed via React Context.

3
Key Features
5
Technologies
Diploma Project
Android
Platforms

Key Features

1

AI Content Moderation

Uses Gemini API to automatically screen pet photos for inappropriate content before posting.

2

Real-time Database

Firestore keeps listings synchronized across devices. New pets appear instantly.

3

Full Auth Flow

Email/password registration, login, password reset, and profile management.

Code
import { GoogleGenerativeAI } from "@google/generative-ai";

const genAI = new GoogleGenerativeAI(process.env.GEMINI_API_KEY!);

export async function moderateImage(base64Image: string): Promise<boolean> {
  const model = genAI.getGenerativeModel({ model: "gemini-pro-vision" });
  const result = await model.generateContent([
    "Is this image appropriate for a pet adoption listing? Check for: violence, explicit content, or anything unrelated to pets. Reply only with SAFE or UNSUITABLE.",
    { inlineData: { mimeType: "image/jpeg", data: base64Image } },
  ]);
  const text = result.response.text().trim();
  return text === "SAFE";
}

Gallery

Want to see more?

Explore the full project catalog or grab the source code.