Skip to content
All work

Cokopets

Video-first livestock marketplace with native UPI payments.

Role
Full-Stack Mobile Engineer
Platforms
Android
Year
2024
Onboarding: phone sign-in, into a marketplace of breeders and buyers
Feed: video-first listings, price and location at a glance
Profile: membership tiers unlocking seller privileges
Favourites: saved listings, synced through Firestore

A marketplace for breeders and buyers of show birds and pedigree livestock, where a photograph genuinely is not enough: buyers need to see an animal move.

Video-first listings with in-feed playback, built entirely on Firebase: Firestore for realtime listings, Auth for phone OTP, Storage for media, App Check to keep scrapers off the database. Payments go through a third-party UPI integration that deep-links into whichever app the buyer already has, and a small FastAPI service bridges an Indian SMS gateway so OTPs actually arrive on rural networks.

0%
payment commission
Firebase
no server to run
  • Flutter
  • Firestore
  • Chewie
  • UPI Pay
  • FastAPI
  • FCM
  • fpdart

The app, screen by screen.

  1. Onboarding: phone sign-in, into a marketplace of breeders and buyers

    01 Onboarding

    Phone sign-in, into a marketplace of breeders and buyers

  2. Feed: video-first listings, price and location at a glance

    02 Feed

    Video-first listings, price and location at a glance

  3. Profile: membership tiers unlocking seller privileges

    03 Profile

    Membership tiers unlocking seller privileges

  4. Favourites: saved listings, synced through Firestore

    04 Favourites

    Saved listings, synced through Firestore

How it was built.

Video in a scrolling feed without running out of memory

Problem
Multiple video controllers alive in a scroll view is the classic path to dropped frames and OOM crashes on mid-range Android, and video is the entire premise of the product.
Approach
Lazy controller initialisation, automatic pause and disposal as items leave the viewport, and compression at upload time so the feed is never streaming source-resolution footage.
Trade-off
The feed scrolls smoothly with video as the primary medium rather than a liability.

UPI deep-links instead of a payment gateway

Problem
Conventional gateways either prohibit livestock transactions outright or impose escrow delays that rural breeders will not accept, and they take a cut of every sale.
Approach
Native UPI intent deep-linking into whichever app the buyer already has installed, with transaction reference capture and screenshot proof upload for dispute resolution.
Trade-off
Zero commission on a familiar payment rail. Reconciliation is manual by design. The right trade for this market.