Skip to content
All writing

October 22, 2026 · 6 min read

Building PetX alone: lessons from shipping a marketplace app to 10K+ downloads

What it took to design, build and run PetX, a pet, bird and animal marketplace, as its only developer: the stack, the decisions that mattered and what I'd tell someone starting out.

FlutterFirebaseNext.jsPetX

PetX is a marketplace and community app for buying, selling and caring for pets, birds and animals. I started building it in 2024, alongside my BS Software Engineering degree, and released the first public version on Google Play on 3 January 2025. As of October 2026 it has 10K+ downloads, 13.4K total installs in Play Console and a 4.8★ rating.

I'm the only developer on it. This post is about what that actually involves, and the decisions that made the biggest difference.

What PetX is made of

PetX isn't one app; it's four surfaces sharing one backend:

  • The Android app, built in Flutter with Riverpod for state management
  • petxapp.com, the web version, built in Next.js, React and TypeScript
  • A web admin dashboard for moderation
  • A Flutter admin app, so moderation can happen from a phone

Behind them is Firebase: Authentication, Cloud Firestore and Cloud Functions written in Node.js. Push notifications go through FCM, media lives on Cloudflare R2, and AdMob handles monetisation.

The backend is a set of Cloud Functions

I didn't run a separate server. Everything server-side is a Cloud Function:

  • a notification engine that decides who gets told about what
  • moderation workflows for listings and posts
  • payment fulfilment for featured listings
  • search catalog generation, so the app can search listings quickly
  • and the Firestore security rules that keep each user's data private

For a solo developer this was the right call. There's no server to patch, it scales on its own, and each function is small enough to reason about in one sitting.

Moving media to Cloudflare R2

A marketplace is mostly images. PetX started on Firebase Storage, where you pay egress every time someone views an image. As the feed grew, that line on the bill grew with it.

I moved media to Cloudflare R2, which charges no egress fees, using a two-bucket design. Image views stopped costing money, and the app's growth no longer scales the storage bill.

The lesson: on a product you pay for yourself, look at which costs grow with usage rather than with users, and fix those first.

The unglamorous part: production bugs

For a while, a registration bug was blocking some people from signing up. Nobody else was going to find it. I traced it through the auth flow and fixed it myself.

This is the part of owning a live app that tutorials skip. You're the developer, the QA team and the on-call engineer, and the bug that matters most is usually the one stopping new users at the door.

Five languages, two directions

PetX supports five languages, including Arabic and Urdu, which are written right to left. That means more than translating strings: layouts mirror, icons that imply direction flip, and every screen has to be checked in both directions.

Milestones

  • 2024: started building
  • 3 January 2025: first public release on Google Play
  • July 2026: 5,000 downloads
  • August 2026: 10,000 downloads
  • October 2026: 13.4K total installs, 4.8★

What I'd tell someone building their first real app

  1. Ship early, then listen. Real users find what planning misses.
  2. Pick boring infrastructure. Managed services like Firebase let one person run a real product.
  3. Watch the costs that grow with usage. For PetX it was image egress.
  4. Build the admin tools. Moderation is part of the product, not an afterthought.
  5. Own the bugs. A fast fix for a real user matters more than a new feature.

If you want to see it, PetX is on Google Play and at petxapp.com. And if you're planning an app like it, I can help build it.

Written by Khurram Shahid

Founder of Witnex Labs · Flutter & Full-Stack Engineer

Work with me