Personal project · Solo: design, code and server
PatiMatch: A matching, listings and donation app for pet owners
A working demo of a mobile app that brings pet matching and chat, adoption and lost-pet listings, a pet shop and donations together, plus the server infrastructure I set up.
İbrahim Taşkıran20263 min readStack
The idea


PatiMatch is a mobile app idea that brings pet owners together: matching and chat for pets, adoption and lost-pet listings, a pet shop, donation campaigns, a vet and groomer directory and events in one app. I designed and coded the user experience on my own as a demo that works screen by screen, and I set up the server infrastructure behind it myself.
The demo app
I wrote the demo in plain HTML, CSS and JavaScript with no build step. All state lives in the browser's localStorage, so uploading it to a server and opening it on a phone is enough. For presentations, the ?demo parameter skips sign-up and opens a ready account, and ?tab= jumps straight to a tab.


- Sign-up: after the welcome and sign-in screens, a three-step sign-up; the location is picked on a map and the address fills in from the browser's location and OpenStreetMap.
- Matching: swipe to like, pass or super-like; pets of the same species and opposite sex, optionally only from the same city.
- Messages: a separate match list and chat for each pet, a daily free message limit and sending pet food from inside the chat.
- Listings: five listing types (adoption, lost, found, looking for a mate and foster home) with location on a map. Adoption listings can only be free, and I added warnings against selling animals.

- Pet shop and donations: a cart and orders; quick donation amounts, campaigns and a "watch a video, donate" flow. Payments in the demo are not real.
- Directory and events: a vet and groomer directory with appointments and paid ads for businesses; an events list and an admin panel.
- Profile: owner profile, my pets, a pet album, a health card and the PatiPlus subscription view.
New versions without cache trouble
Old files lingering on phones broke the demo. I wrote a small script that bumps the version number in the HTML and the app code together, and turned off Apache caching with .htaccess. When a new version opens, old demo data is cleared automatically; there is also a manual clear button on the welcome screen and in settings.
Server infrastructure
For the app's back end I set up my own server with a single command, using shell scripts that are safe to re-run:
- Base: system updates, compressed zram swap for the small disk, Docker, a firewall and key-only SSH.
- Supabase: self-hosted Supabase; ports are reachable only from inside the server, and I added rate limits to authentication. The admin studio sits behind a separate sign-in page.
- Reverse proxy: Caddy with automatic SSL; the home page, API and sign-in domains are routed separately, and the real visitor IP is kept behind Cloudflare.
- Email: my own mail server with mox (SMTP, IMAP, DKIM, SPF, DMARC); sign-up confirmation and password reset emails go out from it. On top I set up a PatiMatch-themed Roundcube webmail.
- Security: fail2ban rules against mail and webmail login attempts and a size-capped system journal.
- DNS: a script that creates the records through the Cloudflare API, and a deploy script that starts everything from my Mac.
Tools I used
HTML, CSS, JavaScript, Leaflet and OpenStreetMap, Supabase, PostgreSQL, Docker, Caddy, Cloudflare, mox, Roundcube, fail2ban and Bash.


