DEV Community

Cover image for Architecting for Zero-Maintenance: The Lean Stack Behind Our 2-Person Studio
Ruslan
Ruslan

Posted on

Architecting for Zero-Maintenance: The Lean Stack Behind Our 2-Person Studio

Most indie developers spend their weekends fixing breaking API changes or migrating legacy databases. My co-founder and I decided to opt out of that cycle entirely. When we started VanzaLabs, we established one ironclad rule: if the app requires a backend server to function, we aren't building it.

We’ve shipped four production apps using this philosophy, and SPOT is the purest expression of that effort. By ruthlessly eliminating the server, we didn't just cut our hosting bills to zero; we eliminated the entire category of 'system maintenance' from our daily workload.

The Fallacy of 'Always-On' State

Many fitness trackers treat user data like a commodity to be synced, analyzed, and stored in a multi-tenant cloud database. This introduces three massive points of failure: network latency, API throttling, and the GDPR nightmare of storing sensitive health metrics.

In SPOT, we store everything in a local SQLite database using a wrapper that feels like a native object store. By keeping the truth on the metal—specifically on the user's phone—we removed the need for auth tokens, OAuth redirects, and password reset flows. If you don't have a user account, you can't have a data breach. It turns out, users don't actually want a 'social fitness journey'; they want to log their bench press without waiting for a loading spinner to connect to a server in Virginia.

Choosing the Right Abstractions

To build fast as a two-person team, we rely on a heavily opinionated stack:

  • Capacitor for the bridge: It allows us to ship to Android and iOS from a single codebase while maintaining access to native hardware features like the system alarm for our auto-rest timers.
  • IndexedDB/SQLite for persistence: We treat the mobile file system as our primary source of truth. Offline-first isn't a feature; it's the core architecture.
  • CSS Custom Properties for Themes: We built our OLED dark mode using a light-touch CSS architecture. By avoiding heavy UI component libraries, we keep our bundle size under the threshold where users even perceive a load time.

By avoiding complex state management libraries like Redux or React Query for local data, we cut down on thousands of lines of boilerplate. When your app is essentially a local CRUD application, you don't need complex data synchronization logic. You just need a robust way to write to disk.

The Economics of Zero-Subscriptions

When you eliminate servers, you eliminate the single largest driver of the 'subscription model.' Most apps force a monthly fee because the developer has to pay for the cloud infrastructure required to support those users.

We operate on a 'ship and forget' model. Because SPOT has zero operational costs, we don't need to rent our users' data to advertisers or squeeze them for monthly fees to cover our AWS bill. This allows us to focus purely on the ergonomics of the UI—optimizing for that 2-tap logging flow—rather than optimizing for user retention funnels or ad-tracking SDKs. Engineering for sustainability means building things that work ten years from now just as well as they do today, without a single line of code update.

Building for the Long Tail

Working as a small studio means we have to be brutal with our roadmap. If a feature request adds complexity to the local-first architecture (like syncing data between a tablet and a phone), we deprioritize it. We would rather have a perfect, high-performance tool that works offline than a bloated platform that requires an internet connection to count reps.

When you stop trying to build a 'platform' and start trying to build a 'tool,' your engineering velocity triples. Every hour we don't spend debugging an API endpoint is an hour we spend refining the UX. We’ve found that the best way to compete with billion-dollar fitness tech giants isn't to build a better cloud—it's to build a faster, more reliable local experience that never asks the user for their email.

If you're tired of bloatware and want to see how we’ve applied this zero-infrastructure mindset to fitness, check out the app on the Play Store.

Get SPOT on Google Play

Top comments (1)

Collapse
 
userxnom profile image
Abdullah Naseer •

The most honest line here is the one about deprioritizing syncing data between a tablet and a phone. That is exactly where most zero-maintenance plans quietly die — local-first is easy until a second device shows up, and you chose the tool over the platform instead of pretending sync is free. The 2-tap logging flow is the payoff for that discipline: every hour not spent debugging an API endpoint went into the thing the user actually touches. One question: when a user switches phones, what happens to their history — is the phone the only copy, or is there any export at all? That single answer decides whether 'ship and forget' holds up for the user, not just for you.