Product Architecture
How PetMates Network works
A look at the core flows powering our member community — onboarding, bookings, credits, and the rules engine that keeps everything safe.
7-Stage Onboarding
Stage 1
Sign up
Email + role selection
Stage 2
Profile basics
Name, photo, location
Stage 3
Pet profile
Add at least one pet
Stage 4
Identity check
Stripe Identity verification
Stage 5
Home preferences
Hosting setup (if sitter)
Stage 6
Payment
$9.99/mo subscription
Stage 7
Activation
Platform access granted
Booking Lifecycle
Owner finds sitter
Step 1
Send request
Step 2
Sitter notified
Step 3
Sitter confirms
Step 4
Credits escrowed
Step 5
Complete & review
Step 6
Rules Engine
Eligibility
- Onboarding complete
- ID verified
- Active subscription
- No suspension flags
Credits
- 1 credit ≈ 1 hour
- Escrow on confirm
- Release on completion
- Refund on cancel ≥ 48h
Trust & Safety
- RLS per member
- Content scan on save
- Auto-flag external links
- Manual review for high-risk
System Topology
Web app
React + TanStack Router
API layer
Server functions + Edge
Data + Auth
Postgres + RLS
Stripe Identity
Stripe Billing
Email + SMS
Mapbox