Skip to content
CTO · 2026

Paaw

Pet adoption platform connecting adopters with 4,000+ shelters

  • Next.js
  • React
  • TypeScript
  • Node.js
  • MongoDB
  • Stripe
  • Vercel AI SDK
  • OpenAI
  • Cloudflare
  • AWS App Runner
  • ECS
  • Postmark
The Adoption Journey

Click any step to see what I built there

Contact a shelterThe core conversion
A reliable free contact flow that routes every request straight to its shelter
Express Contact: a paid tier whose checkout runs end to end on the server
A deliverability check that confirms a shelter's inbox can receive messages before an adopter pays
100%
of free requests routed straight to the shelter

Overview

Paaw is a pet adoption marketplace connecting adopters with shelters and rescues in the United States, France, Spain and Belgium. More than 4,000 shelters list their animals for free, and over 120,000 pets have found homes through Paaw since 2022.

I joined as CTO in July 2026 and work across the whole platform: the adopter journey from the first search to the first week at home, the tools shelters use to list animals and respond, payments, Oscar (Paaw’s AI adoption assistant), and the reliability and infrastructure underneath. Since joining, I’ve merged 618 pull requests into 8 repositories in total.

618
pull requests merged
8
repositories, from the web app to scheduled jobs
340+
test files in the web app, behind a CI gate
120K+
pets adopted through Paaw since 2022

The Problem

Adoption is a funnel that leaks at every step. Adopters have to find a pet that is actually nearby, trust the listing, and reach a shelter that will reply. Shelters are understaffed, and a slow reply can lose an adopter. And the moment after “message sent” is where most platforms go quiet. Underneath all of that, the site has to stay fast under heavy search traffic while the team keeps shipping.

What I Built

  • Faster, smarter search: radius-over-map search, live filters, city and breed landing pages, and ranking that rewards shelters that actually answer adopters.
  • Oscar, the AI adoption assistant: taken from prototype to a production assistant that finds pets, answers questions and follows up on requests, with deterministic ranking, version-stamped prompts and an eval gate.
  • A contact and payments flow built to convert: a reliable free request path that routes every request straight to the shelter, donations rebuilt into a single payment step, and a server-side checkout for the paid Express Contact tier.
  • Welcome Home: a post-adoption essentials catalogue and insurance partnerships, with safety rules enforced by tests.
  • Tools for shelters: a redesigned dashboard, response badges, and reminder emails in each shelter’s own language.
  • Reliability, performance and SEO: scaled the data layer for heavy load, cut response time for searches without a location by 93%, moved pages and images onto the edge cache, and focused the sitemaps on one canonical URL per available pet.

How the Platform Fits Together

The platform, top to bottom · click a box
People
Edge
Apps
Services
Data & partners
Web appNext.js 15 · React 19
Server-rendered public site and adopter app; reads the catalogue directly and calls services for writes. Hosts Oscar's chat API.
My work312 merged PRs: search, payments, Oscar, SEO, i18n, security hardening, the test suite and CI gate.

The public site is a Next.js app behind Cloudflare. It reads the catalogue straight from MongoDB and writes through a small set of Node services for data, accounts and uploads. Scheduled jobs on ECS import listings nightly, pay out shelters, and send reminder and lifecycle emails.

Selected Projects

Search that finds pets nearby, from shelters that reply

I rebuilt the animal search, the shelter directory and the public shelter pages. A radius bar sits over the map, filters apply as you change them, breed search is scoped to the species, and the results widen their radius automatically to keep the list going. For ranking, my analysis showed that a shelter’s measured reply rate, far more than whether it had activated its account, predicts whether an adopter hears back. So I built ranking on a ladder tied to reply rates, which lifts pets from shelters that answer. In simulation, it cut the median distance of Atlanta’s first page of results by 50%, putting nearby, responsive shelters first.

Oscar, the AI adoption assistant

I took Oscar from prototype to production: I brought it onto the current codebase and rebuilt it on the Vercel AI SDK, with tools created per request so they only ever see that visitor’s context. Then I built the product around it: a docked panel, a full-screen results board, awareness of the pet page you’re on, a proactive “peek” card after engaged browsing, a companion that tracks the status of your requests after you contact a shelter, and food recommendations matched to the life stage of a signed-in visitor’s own pets.

One Oscar turn
BrowserServerLLM
1
A visitor asksBrowser
From the docked panel, the full-screen results board, or a peek card that appears after engaged browsing on a pet page.
2
Rollout gateServer
A config document, read server-side, decides who gets Oscar and holds the kill switch, so launching or rolling back needs no deploy.
3
Assemble the promptServer
Built fresh each turn from the visitor's language, the pet page they are on and, when signed in, their own pets. Every trace carries the prompt version.
4
Tool loop · repeats until the answer is ready
Model streams and calls toolsLLM
Typed tools: search pets, explain how contact works, look up my requests, suggest products for the pet's life stage.
Deterministic engine answersServer
Search and ranking run in TypeScript, not in the model. Cursors and the set of pets shown are signed, so a reply can't invent a pet or a page.
Redact before the model sees itServer
Shelter phone numbers are stripped from listing text. Validated on 14,000+ real listings: zero dialable numbers left, microchip numbers untouched.
5
Pet cards, not paragraphsBrowser
Results render as real pet cards and a results board the visitor can act on, with the reply narrated around them.
Evals gate every prompt change
Scenario suite with an LLM judge; a prompt or model change can't merge without it.
Traced end to end
Every turn traced with its prompt version, through the existing error-monitoring pipeline.
The model narrates. It never computes.

Privacy was built in from launch. Shelter phone numbers in listing descriptions belong behind each shelter’s own contact flow, so a dedicated redactor I wrote strips them before anything reaches the model. Validated on 14,000+ real listings, it redacted 100% of dialable numbers and left microchip numbers, which look a lot like phone numbers, untouched.

Reliability and speed at scale

I rebuilt the health check as a lightweight liveness probe that answers in 2–17 ms without opening a database connection, with 99% less response time, so instances stay up under heavy load.

I also led the scaling work on the data layer: one database client with a bounded pool and timeouts, pages that read data directly rather than over HTTP, single-flight cache fills, bounded third-party calls, a shared Redis cache, and search reads served from secondaries with hinted indexes. On top of that, pet pages and images moved onto the Cloudflare edge cache, with a purge whenever a pet is adopted or edited.

Performance gains
Each bar is the reduction achieved. Longer is better.
Speed under load
Search response time, no location−93%
Queries served from indexes on read replicas
Documents read per search−91%
New compound indexes, pinned with query hints to keep plans stable
Radius count query time−80%
Counts inside a radius served from a 2dsphere geospatial index (Philadelphia, 80 km)
Health check response time−99%
A lightweight liveness probe that answers without opening a database connection
Page weight and crawl efficiency
Sitemap size−82%
One canonical URL per listing, covering only pets still up for adoption
Blog header image weight−89%
Images resized and recompressed for the web, the largest by 97%
Each reduction measured on production data or a production build.

The edge cache serves 83% of image requests, cutting origin bandwidth by 63%.

Contact and payments

Contacting a shelter is the core conversion, so I made the free request flow reliable end to end, routing every free request straight to its shelter.

I rebuilt the donation window so a one-time gift and monthly support confirm in a single Payment Element step, with the one-time amount carried into the subscription’s first invoice. I also enabled Cash App Pay at checkout and streamlined each page to load a single Stripe account. Express Contact, the paid tier where Paaw follows up with the shelter for you, runs its checkout end to end on the server. The payment success page, shared by donations and Express Contact, handles every state: processing, retry, a declined card, and auto-continue. A deliverability check confirms a shelter can receive messages before an adopter pays to reach it.

Welcome Home and partners

After a request is sent, adopters land on Essentials for pets: a curated partner catalogue with prices refreshed daily, budget filters and search. Safety rules live in tests, not in someone’s memory. For example, products that are toxic to cats can never appear on a cat. Insurance partners are swapped behind one config with a geographic gate, and every outbound click goes through a ledger so commissions can be reconciled.

SEO at scale

I rebuilt the sitemaps around one canonical URL per listing, covering only pets still up for adoption. That made the submitted set 82% leaner, so crawlers spend their time on pets adopters can actually meet. I also gave English a single canonical URL, brought six Search Console validations to passing, and expanded the city and breed landing pages across US metros. On top of that, I added structured About and FAQ entities and an llms.txt for AI search.

Foundations

I built the web app’s test suite and the CI gate every pull request passes through: 340+ test files, plus an LLM eval suite for Oscar. I also set up an isolated staging environment with Stripe in test mode, a way to replay the post-contact flow without emailing a real shelter, and security hardening across the web app and the backend services.