<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Emmanuel Paul</title>
    <description>The latest articles on DEV Community by Emmanuel Paul (@paul_emmanuel).</description>
    <link>https://dev.to/paul_emmanuel</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2805211%2F009d6a64-2045-4478-af57-8d419026a081.png</url>
      <title>DEV Community: Emmanuel Paul</title>
      <link>https://dev.to/paul_emmanuel</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/paul_emmanuel"/>
    <language>en</language>
    <item>
      <title>🐾 PawSafe: An AI-Powered Food Safety Checker for Dogs</title>
      <dc:creator>Emmanuel Paul</dc:creator>
      <pubDate>Mon, 17 Aug 2026 00:18:35 +0000</pubDate>
      <link>https://dev.to/paul_emmanuel/pawsafe-an-ai-powered-food-safety-checker-for-dogs-53o8</link>
      <guid>https://dev.to/paul_emmanuel/pawsafe-an-ai-powered-food-safety-checker-for-dogs-53o8</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for &lt;a href="https://dev.to/challenges/weekend-2026-08-13"&gt;Weekend Challenge: Dog Days Edition&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;PawSafe is an AI-powered web application that helps dog owners answer a simple but important question:&lt;/p&gt;

&lt;p&gt;"Can my dog eat this?"&lt;/p&gt;

&lt;p&gt;Users 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.&lt;/p&gt;

&lt;p&gt;The result is categorized into four levels:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🟢 Generally Safe&lt;/li&gt;
&lt;li&gt;🟡 Use Caution&lt;/li&gt;
&lt;li&gt;🔴 Not Safe&lt;/li&gt;
&lt;li&gt;⚪ Unable to Determine&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Along with the result, PawSafe provides explanations, potential warnings, and safer alternatives when appropriate.&lt;/p&gt;

&lt;p&gt;My 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.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://pawsafe-1.onrender.com/" rel="noopener noreferrer"&gt;Live Demo&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/PaulEmmanuel8888/PawSafe" rel="noopener noreferrer"&gt;GitHub Repository&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;PawSafe is a full-stack application built with:&lt;/p&gt;

&lt;h3&gt;
  
  
  Frontend
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;React&lt;/li&gt;
&lt;li&gt;Vite&lt;/li&gt;
&lt;li&gt;Tailwind CSS&lt;/li&gt;
&lt;li&gt;Lucide React&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Backend
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Node.js&lt;/li&gt;
&lt;li&gt;Express&lt;/li&gt;
&lt;li&gt;Multer&lt;/li&gt;
&lt;li&gt;CORS&lt;/li&gt;
&lt;li&gt;Google Gemini API&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Deployment
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Render&lt;/li&gt;
&lt;li&gt;GitHub&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The basic flow looks like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;User
  ↓
Food name / Image / Both
  ↓
React Frontend
  ↓
Express API
  ↓
Google Gemini
  ↓
Structured Analysis
  ↓
PawSafe Result Card
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;One 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.&lt;/p&gt;

&lt;p&gt;The 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.&lt;/p&gt;

&lt;p&gt;I also wanted the application to support both text and images independently, while still allowing users to provide both when additional context is useful.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Best Use of Google AI
&lt;/h3&gt;

&lt;p&gt;PawSafe is submitted for the Best Use of Google AI prize category.&lt;/p&gt;

&lt;p&gt;Google'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.&lt;/p&gt;

&lt;p&gt;The AI response is then presented through PawSafe's interface as an easy-to-understand result rather than exposing users to a raw AI response.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>weekendchallenge</category>
      <category>gemini</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
