{"slug": "pawsafe-an-ai-powered-food-safety-checker-for-dogs", "title": "🐾 PawSafe: An AI-Powered Food Safety Checker for Dogs", "summary": "A developer has built PawSafe, an AI-powered web application that helps dog owners determine whether a food is safe for their pets. The app uses Google's Gemini API to analyze text and image inputs, providing a structured safety assessment with explanations and alternatives. The full-stack application, featuring a React frontend and Express backend, keeps the Gemini API integration on the server side to protect the API key.", "body_md": "*This is a submission for Weekend Challenge: Dog Days Edition*\n\nPawSafe is an AI-powered web application that helps dog owners answer a simple but important question:\n\n\"Can my dog eat this?\"\n\nUsers can enter the name of a food, upload a photo, or provide both. PawSafe then analyzes the information using Google's Gemini API and provides a simple safety assessment.\n\nThe result is categorized into four levels:\n\nAlong with the result, PawSafe provides explanations, potential warnings, and safer alternatives when appropriate.\n\nMy goal was to build something that was useful, simple to understand, and approachable for dog owners rather than making users search through multiple sources every time they encounter an unfamiliar food.\n\nPawSafe is a full-stack application built with:\n\nThe basic flow looks like this:\n\n```\nUser\n  ↓\nFood name / Image / Both\n  ↓\nReact Frontend\n  ↓\nExpress API\n  ↓\nGoogle Gemini\n  ↓\nStructured Analysis\n  ↓\nPawSafe Result Card\n```\n\nOne of the main technical decisions I made was to keep the Gemini API integration on the backend rather than exposing the API key in the frontend.\n\nThe frontend sends the user's food information to the Express API. The backend then communicates with Gemini and returns the structured analysis to the frontend.\n\nI also wanted the application to support both text and images independently, while still allowing users to provide both when additional context is useful.\n\nPawSafe is submitted for the Best Use of Google AI prize category.\n\nGoogle's Gemini API is the core intelligence behind the application. It is used to analyze both text-based and image-based food information and generate a structured safety assessment.\n\nThe AI response is then presented through PawSafe's interface as an easy-to-understand result rather than exposing users to a raw AI response.", "url": "https://wpnews.pro/news/pawsafe-an-ai-powered-food-safety-checker-for-dogs", "canonical_source": "https://dev.to/paul_emmanuel/pawsafe-an-ai-powered-food-safety-checker-for-dogs-53o8", "published_at": "2026-08-17 00:18:35+00:00", "updated_at": "2026-08-17 00:41:26.943228+00:00", "lang": "en", "topics": ["artificial-intelligence", "generative-ai", "ai-products", "ai-tools"], "entities": ["PawSafe", "Google Gemini API", "React", "Express"], "alternates": {"html": "https://wpnews.pro/news/pawsafe-an-ai-powered-food-safety-checker-for-dogs", "markdown": "https://wpnews.pro/news/pawsafe-an-ai-powered-food-safety-checker-for-dogs.md", "text": "https://wpnews.pro/news/pawsafe-an-ai-powered-food-safety-checker-for-dogs.txt", "jsonld": "https://wpnews.pro/news/pawsafe-an-ai-powered-food-safety-checker-for-dogs.jsonld"}}