©Code byMilanParmar

Rescuing a half-built news app with AI-generated code and shipping it to both app stores

An agency had left this local news app half-built, with code generated by AI tools. It was buggy, slow, unfinished, and not ready to scale. I took it over, kept what worked, rewrote the rest, and shipped it to iOS and Android in 12 weeks, with the backend, the editorial admin, push notifications, and a release pipeline for both stores. It has 50K downloads and 20K monthly readers.

Category
Mobile
Industry
Local news & media
Type
Mobile application
Year
2024

At a glance

Client
Local news publisher (name kept private)
The problem
An agency had left the app half-built, with AI-generated code that was buggy, slow, and not ready to scale or to ship to both app stores.
What I built
Kept the solid parts, rewrote the rest, and finished a React Native app for iOS and Android with location-based news and push notifications, a NestJS backend, an editorial admin, ads, and CI/CD for both stores.
The result
Shipped to iOS and Android 12 weeks after takeover. 50K downloads and 20K monthly readers.
Timeline
12 weeks
Budget
$25,000

What was wrong with the half-built, AI-generated news app

An agency had started the app with code generated by AI tools, and left it half-built. Parts of it worked, but it was buggy and slow, and it wasn't ready to scale or to ship to both app stores.

I reviewed the code, kept what was solid, and rewrote the rest.

The problem: local news gets lost in a general feed

Most news apps show everyone the same stream. For local news, that's the wrong way round: a road closure in your town matters more than a headline from another country. Readers need to see what's happening near them first.

The publisher also needed the other half: a way for editors to publish local stories, sort them by place and category, and alert the right readers when something breaks.

Location-based news: showing readers what's happening near them

The app uses the reader's location and preferences to put nearby news first. Readers can browse by category, search for stories, save articles for later, and engage with what they read, all organised around where they are.

Getting a stuck app into the App Store and Google Play

The app is built once in React Native and released to both stores. I set up the production builds and the CI/CD pipeline, so new versions ship to both stores through the same process instead of two separate manual releases.

Push notifications and one backend for app and admin

Editors send breaking, local, and category alerts from the admin, delivered through Firebase to iOS and Android. A NestJS backend with MongoDB serves both the app and the admin, and Redis keeps frequently read data fast, so a story published in the admin is live in the app immediately.

  1. 01

    Editor publishes

    Articles, categories, and locations in the admin.

  2. 02

    Backend stores and serves it

    NestJS APIs on MongoDB, with Redis for fast reads.

  3. 03

    Push notification

    Breaking and local stories sent through Firebase.

  4. 04

    Reader opens it

    News for their area, ready to read, save, or share.

The editorial platform and backend behind the app

Behind the app is an admin where editors manage articles, categories, locations, users, and notifications. A NestJS backend with MongoDB serves both the app and the admin, and Redis keeps frequently read data fast. Advertising is built in, so the business model lives in the same product.

Results

  • 50K

    downloads

  • 20K

    monthly readers

  • iOS + Android

    from one codebase

  • 12 weeks

    to both app stores

Key decisions

  1. 01

    Keep what was solid, rewrite the rest

    Starting over would have thrown away parts that worked. Reviewing first meant only the parts that couldn't scale were rewritten.

  2. 02

    One release pipeline for both stores

    New versions ship to the App Store and Google Play through the same process, instead of two manual releases.

  3. 03

    One backend for the app and the admin

    Editors and readers work on the same data, so a story published in the admin is live in the app immediately.

What the client said

“The agency left our app half-done. Milan finished it, built our editorial tools, and got it into both app stores. Now readers get local news the moment we publish.”
Publisher

FAQs

Can you finish a mobile app another team left half-built?

Yes. I review the code first, keep what is solid, and rewrite what won't hold up. This news app was half-built by an agency, with AI-generated code, and reached both app stores 12 weeks after I took it over.

Should a news app use React Native or native iOS and Android?

For most news apps, React Native is the better value. Content apps are mostly lists, articles, and notifications, which React Native handles well, and one codebase means simultaneous releases on both stores.