Paul Bădărău

Rails MVP in weeks: how Hotwire holds up in production

A Rails MVP plan from a live production operations workspace: where Hotwire keeps server-rendered work fast, and where a frontend state layer earns its cost.

The first useful screen I shipped for a property operations workspace was an inspection page showing preparation state, blockers, checklist items, and a button that made the next office task obvious. That system now holds over 25,000 properties, 60,000 inspections, nearly 7 million observations, and 17 million attachments; it started by answering one question an administrator had before lunch about what had to happen before an inspection could go out.

I built that surface with Rails, Turbo, Stimulus, and Phlex, and it moved quickly because the work was forms, permissions, and state transitions the server already owned. Rails and Hotwire get an operations MVP in front of users fast when they're editing shared records, and they only stop being enough once the browser owns complex local state or concurrent users need live cursors and conflict resolution.

Build the internal operator workflow first

Early MVP plans often chase a mobile app, a marketplace profile, or a dashboard full of empty charts, yet someone still has to fix an address, chase a missing document, undo a bad status change, or find why an email failed. Without an operator screen, that work drops straight back into Slack, spreadsheets, or the developer's inbox.

On the property platform, the real nouns were properties, inspections, reports, clients, users, invoices, preparation states, and documents. The first flow let an administrator open an upcoming inspection, inspect the property and client, set preparation state, record a blocker, complete or reopen checklist items, and log a send record with a visible audit trail for the next person on shift. A youth education platform I built followed the same shape: educators start course deliveries, record class context, step through content, and request industry sessions while volunteers claim matches and judge competition entries, all backed by model rules and database constraints.

I never start with a generic workflow engine; PreparationChecklistItem can stay tied to inspection preparation, and I'll only extract a shared abstraction after three separate workflows prove the same rule. Generic engines hide the exact business rule an operator will ask you to change next Tuesday.

Use Hotwire when the server owns the decision

Calling Hotwire "Rails without JavaScript" causes bad architecture, because you still write JavaScript for browser-local behaviour. Stimulus handles opening panels, copying values, previewing images, counting characters, and making filters tolerable, and you should usually be able to delete a Stimulus controller without changing what the server considers true.

Turbo handles the round trips Rails already validates well. On the inspection screen, a Turbo Frame wraps each section so updating preparation state returns fresh HTML, a bad blocker form renders validation errors beside the input, and the report list stays put; there's no client cache, no component state mapping, and no optimistic update to roll back after a 422. Phlex keeps those fragments in plain Ruby, though ERB or ViewComponent works fine if that's what the team already reads. On a public web platform I maintain, a headless CMS serves content while teacher applications, volunteer profiles, help requests, matches, and votes all run through server-rendered Rails forms with targeted cache invalidation.

Four weeks works when the shape is clear

Four weeks is enough for an admin-heavy Rails MVP with one core workflow, provided a buyer makes fast decisions, there's no heavy data migration, and the integration list is short.

Week one gets the first flow deployed: Rails and PostgreSQL with authentication, basic roles, error reporting, and plain CRUD screens for the main records. Putting deployment into week one (Docker and Kamal with Solid Queue on the education app; background workers, object storage, monitoring, and rate limits on the operations workspace) exposes email, file storage, and environment assumptions a laptop hides. Week two builds the operator's working day: lists, scoped search, filters, pagination, Turbo Frame edits, status transitions, and an audit log for any destructive or financial change.

Week three locks down permissions, mistake recovery, and background jobs for notifications, document bundles, third-party syncs, and uploads. On the education platform, database constraints enforce one active delivery per user and course, one completion per user, delivery, and step, one match per request and volunteer, and one rating per volunteer and entry. Week four puts real users through the flow, imports a small restartable dataset, tests permission boundaries, and cuts anything that can wait like dashboards. Six to eight weeks is a different scope (more roles, a client portal, large document archives, or a real migration). That extra time comes from changed shape, not from optimism in week one.

Imports and integrations set their own schedule

Existing data and third-party APIs rarely respect a launch date. The property platform imports root records in pages of 50, fetches related details, saves every incoming payload as a snapshot, and projects canonical PostgreSQL rows while advancing a saved cursor only after each root succeeds; already synchronised roots are skipped so backfills can stop and resume safely.

Behind that same product sits more than 4 TB of media, where historical photos and PDFs had to be adopted from read-only storage, downloaded, or logged on a missing-media list without blocking live webhook queues. A week-one MVP doesn't need a full reconciliation console, yet any external sync still needs visible job state and a retry screen so support isn't reconstructing failures from raw logs.

Keep Hotwire out of rich client state

Server-rendered HTML stops being cheap when an interaction holds enough temporary state that users expect it to survive navigation, or when continuous input drives the screen. An offline field app, a visual editor, a multi-pane drag planner, or a chart redrawing on every pixel shouldn't fire a Rails request per movement or turn Stimulus into a brittle state machine of DOM attributes and hidden inputs.

Live collaboration is the other hard boundary. Turbo Streams fit narrow updates (a finished background job, a new comment, a queue status change), whereas two people editing one board with live cursors and reconnect conflict resolution need a real concurrency model and a client framework like React or Vue. Most admin work is discrete, and parts of one app can differ: the education platform's branching, one-question-at-a-time questionnaire uses a small progressive layer while course progression and reporting stay plain server HTML.

Keep the MVP easy to change after launch

A fast build only pays off if you can change it once users push back. Keep domain rules inside models and transactions, back invariants with database constraints, wrap external APIs behind small clients with explicit retry policies, and keep admin screens close enough that routine fixes don't require a developer console. For the full production setup behind these builds, read my 2026 Rails stack, and for budgeting a build like this see the cost of an MVP.