CoreMVP

Understand Project Structure

View as Markdown

Find the product change in the table and open its edit point.

Common changes

I want to…Start hereGuide
Add or change an App Router pageCustomize the dashboard for dashboard work
Change dashboard navigation or layoutCustomize the dashboard
Read backend data from ReactFetch backend data and run actions
Trigger server work from React + existing /api/* routeFetch backend data and run actions
Add a browser-facing API capabilityCreate API Endpoint
Add reusable server or provider logicAdd Business Logic
Add a table, column, or migration + Change Database Schema
Add a persisted read or writeQuery Application Data
Change authenticationAuth components and routesAuthentication
Change Stripe billingBilling configuration and routesStripe Billing
Change emailapp email service or Supabase Auth emailEmail
Publish or customize Blog content and Blog componentsBlog
Add or customize Docs and Docs componentsDocumentation

Keep the boundaries intact

Normal browser-triggered server work follows this boundary:

Scroll horizontally, or focus the diagram and use the arrow keys, to see the full flow.

Component Query hook Hono API Service Repository Provider

Components render the product, hooks manage browser data, API routes own HTTP, services own application decisions, repositories own app-data access, and providers own external integrations.

Open Architecture when a change crosses more than one boundary or introduces a new responsibility.

What's next

Was this page helpful?

On this page