AI product · PWA · Production

Ugolok Sadovoda: an AI/PWA product with accounts, payments and cloud state

A complete consumer product where useful tools, user state, AI, monetisation, legal controls and operations behave as one system.

Production plant-diagnostics screen in the Ugolok Sadovoda PWA
A real production plant-diagnostics screen from the Ugolok Sadovoda PWA.

Verified outcome

  • Planning, journal, inventory, beds, calendar and domain tools
  • Accounts, user-scoped cloud state, subscriptions, quotas and payment history
  • Service-worker release controls and SEO-prerendered routes
  • Critical-flow tests and daily PostgreSQL backups with checksums

The problem: keep the product coherent

The app combines local gardening tools, an AI adviser, identity, cloud synchronisation and a subscription. Every feature crosses interface, state, backend, permissions and post-release support.

Work followed real journeys: start without registration, preserve data, link local state to an account, receive AI guidance, upgrade and survive a PWA update without data loss.

The system boundary

The frontend uses React, Vite and TypeScript. The backend covers PostgreSQL, sessions, email verification and recovery, quotas, subscriptions, AI proxying and payments.

Privacy, consent and legal behaviour are part of the product architecture rather than an afterthought.

  • user-scoped keys and pending synchronisation
  • onboarding, account view and sync status
  • payment integration and pricing-flow checks
  • Nginx/systemd operation, error reporting and backup procedure

Production risk control

PWAs can leave users on an old service worker. Build stamping, an update prompt and version-transition tests make releases explicit.

Cloud state, onboarding, pricing and payment-domain behaviour are tested. PostgreSQL uses daily custom-format dumps, SHA-256 checksums and a restore procedure.

Outcome

The product can move beyond MVP without losing control of accounts, payments, data or releases.

The case demonstrates ownership from interface and AI through legal copy, Nginx and database recovery.

Practical questions

Why is this more than an AI chat?

AI operates inside a domain system with identity, state, quotas, payments and production operations.

What carried the most risk?

Cloud state, PWA updates and separating provider failure from a user quota limit.

Which patterns are reusable?

Cloud sync, payment boundaries, AI proxying, PWA releases and production verification.

Discuss a project · info@robert-aglyamov.ru