©Code byMilanParmar

Rescuing an AI-coded distributor catalog app, built to plug into the real API later

The first version of this distributor catalog app was built with AI coding tools. Login had problems, it was buggy and slow, and it was unfinished. The real catalog API was still being built by another team, so in three weeks I rebuilt it as a working React Native app around a replaceable API layer: distributor login, categories, search and filters, and detailed product pages. When the real API is ready, it drops in without rebuilding the app.

Category
Mobile
Industry
Printing & Imaging
Type
Mobile Application Prototype
Year
2023

At a glance

Client
Printing and imaging company (name kept private)
The problem
A first version built with AI coding tools, with login problems, bugs, slowness, and unfinished parts, while the real product API didn't exist yet.
What I built
A React Native app with distributor login, four product lines, search and filters, detailed product pages, and an API layer designed to be swapped for the final backend.
The result
A working catalog app that could be demoed and tested straight away, ready to connect to the real product data without a rebuild.
Timeline
3 weeks
Budget
$8,000

What was wrong with the AI-coded first version

The first version was built with AI coding tools. Distributor login had problems, the app was buggy and slow, and parts of it were unfinished. On top of that, the real product catalog API was being built separately and wasn't ready.

Rebuilding a mobile app before the API exists

Instead of waiting, I rebuilt the app against placeholder endpoints behind a separate API layer. The screens only talk to that layer, never to the placeholder data directly. When the final catalog API is ready, only the layer changes and the app stays the same.

A mobile product catalog built for distributors

The app is organised the way distributors sell: by product line (inkjet, office, laser, and photo), with search and filters to narrow down quickly, and product pages with images, specifications, and features ready to show a customer.

  1. 01

    Log in

    An app only for the distributor network.

  2. 02

    Browse the range

    Inkjet, office, laser, and photo printers.

  3. 03

    Search and filter

    Narrow down to the right models fast.

  4. 04

    Open a product

    Images, specifications, and features.

  5. 05

    Show the customer

    Everything needed, on the phone in their hand.

Key decisions

  1. 01

    A replaceable API layer

    The real API was coming from another team. Keeping the app independent of placeholder data means swapping it in is a small change, not a rebuild.

    Trade-off: Extra abstraction during the prototype.

  2. 02

    React Native

    One codebase for iOS and Android, so every distributor can use it whatever phone they carry.

What the client said

“Our catalog API wasn't ready, but Milan still gave us a working app our distributors could try. Plugging in the real data later was easy.”
Product manager

FAQs

Can you build a mobile app before the backend API is ready?

Yes. Build the app against placeholder endpoints behind a separate API layer, and agree the data shape with the backend team early. The app can be demoed and tested straight away, and connecting the real API later only touches that layer.

Is a working prototype worth building before the full product?

Often, yes. A clickable, working prototype lets real users try the flow and gives stakeholders something concrete to approve. It's much cheaper to change a prototype than a finished product, especially when other parts of the system are still being built.

Does a sales team need a mobile catalog app?

If they sell in person and need to find and show products quickly, yes. A good catalog app with search, filters, and clear product pages beats brochures and a mobile website that wasn't built for presenting.