Money

Build a budget planner app with AI

A native budget planner build brief covering saved data, purposeful screens and a repeatable real-input acceptance journey.

Apirex TeamUpdated AndroidiOS
On this page
  1. Screens
  2. Data model
  3. Native features
  4. Android notes (Kotlin and Jetpack Compose)
  5. iPhone notes (Swift and SwiftUI)
  6. Copy-paste prompt
  7. Acceptance test
  8. Frequently asked questions
4screens
4data tables
191word prompt
2platforms: Android, iOS

This budget planner build brief is for households planning what their money should do before recording actual spending. Its first version should prove one concrete loop: create a monthly plan, enter income and spending, and verify remaining funds at the boundary. Keep monthly allocations, income, spending and savings goals connected to the same saved records before adding more ambitious integrations.

Screens

  • Budget overview: Compare allocated, spent and remaining amounts
  • Income: Record expected and received income separately
  • Savings goals: Track contributions against user-defined targets
  • Reports: Inspect monthly totals and rollover adjustments

Data model

TableKey fieldsPurpose
budgetsid (uuid), period_start (date), currency (text), rollover_minor (bigint)A single planning period in one chosen currency
incomeid (uuid), budget_id (uuid), amount_minor (bigint), received_on (date nullable)Expected income distinguished from received funds
transactionsid (uuid), budget_id (uuid), amount_minor (bigint), occurred_on (date), kind (text)Explicit spending or savings movements
savings_goalsid (uuid), title (text), target_minor (bigint), due_on (date nullable)Targets whose contributions are derived from linked transactions

Keep an individual budget local when sharing is not needed. If account access is introduced, budgets belong to one authenticated owner and income, transactions and goals inherit that ownership through enforced server-side row-level security. Do not treat a household label as permission to view someone else’s finances. A shared household would need a separately designed membership model and clear edit authority.

Native features

A budget planner needs durable monthly allocations and an optional prompt to review unclassified spending. Store amounts locally in Room on Android or SwiftData on iPhone when the chosen scope is single-device planning. These stores do not provide bank synchronization. A review notification should say that the budget is ready to review, not show income or the remaining balance on a locked screen. Exporting a monthly summary through the system share sheet is useful for personal record keeping; label its currency and date range so a saved report cannot be confused with a live account balance.

Android notes (Kotlin and Jetpack Compose)

Use a Material 3 month selector above a LazyColumn whose keys distinguish income lines, spending categories and savings goals. Edit an allocation in a ModalBottomSheet with a decimal keyboard, converting validated input to integer minor units before saving. Room should commit a rollover adjustment and its source-period marker together. DataStore can remember whether the user prefers Monday or Sunday in the planning calendar, not hold the money ledger. On Android hardware, allocate the last available funds to savings, rotate with an unsaved income draft, then open January after December twice. Check that no second rollover appears.

iPhone notes (Swift and SwiftUI)

Place monthly totals and category detail in a NavigationStack, using a List for allocations that remain readable at large text sizes. SwiftData can persist the selected period's entries; a computed summary should distinguish expected income from money actually received. Present the contribution editor with sheet detents so the goal total remains understandable before saving. UserNotifications can support an opt-in monthly review, without implying exact delivery. On a real iPhone, enter a negative remaining balance, force quit after saving a goal contribution, and reopen the same month. Compare the visible total with the underlying contribution rather than trusting the chart alone.

Copy-paste prompt

Build this yourself 189 words · Android
Build a budget planner app for Android using native screens and a deliberately small first release. The core scope is monthly allocations, income, spending and savings goals. Include these destinations: Budget overview, Income, Savings goals, Reports. Use these persisted entities: budgets, income, transactions, savings_goals; retain stable identifiers and explicit relationships rather than maintaining independent screen totals.
Ask me these owner decisions before implementing ambiguous behavior: whether available funds include expected income, how unspent money rolls forward, and whether savings transfers reduce spendable funds. Do not invent a policy or add an unrequested external integration. Start local-only unless I explicitly choose account storage; if I choose a backend, enforce ownership on the server with row-level security.
Show loading, empty and recoverable error states, plus permission-denied handling wherever a native capability requests access. Keep incomplete input recoverable and distinguish it from saved data. For acceptance, create a monthly plan, enter income and spending, and verify remaining funds at the boundary. Also exercise the invalid-input or denied-permission path and reopen the app to inspect the persisted result. Explain any remaining device-only checks rather than equating a successful build with a passing journey.

Opens Apirex with this prompt in the box. Pick the Android · Kotlin tab before you send.

Acceptance test

  1. Create an April budget in USD and record 2000.00 as received income.
  2. Record 325.00 spending and confirm the remaining figure is 1675.00 before any savings transfer.
  3. Add a 100.00 savings contribution and check the chosen treatment of spendable funds is applied once.
  4. Reopen the planner and inspect the same budget, contribution and remaining amount.
  5. Enter a May transaction and an invalid mixed-currency amount; confirm April excludes both from its totals.

Exercise the rollover rule using two consecutive months with a remaining balance of 75.00. Open the later period, navigate away, and reopen it three times; the carried amount must remain 75.00 rather than accumulating to 225.00. Decide whether a negative balance carries forward under the same rule or is displayed as an unresolved deficit.

A budget with no income is not necessarily a broken budget: it should distinguish an unconfigured plan from confirmed zero income. When a report cannot load, leave the amount unavailable and preserve editable drafts. Retain closed periods for historical comparison until explicit deletion, and warn before removing a savings goal that still has linked contributions so those transactions are not silently reclassified as ordinary spending.

Frequently asked questions

Is expected income spendable immediately?

That is an owner decision, not a safe default to invent. Show expected and received values separately, and state which one drives the remaining-funds calculation.

Can leftover funds roll into next month?

Yes, if the rollover rule is explicitly specified and represented as an auditable adjustment. Opening the next month repeatedly must not apply the same carry-forward again.

Does this replace financial guidance or bank records?

This planner provides user-defined arithmetic, not financial advice. Begin with one currency and manual entries; automatic bank synchronization is outside the initial scope.

Build this blueprint

The blueprint prompt, ready for your platform. Edit anything before you send it.

AndroidKotlin · Jetpack ComposeReal source on your computer

Opens Apirex with this prompt. Pick the Android · Kotlin tab before you send. The Free plan includes 5 Rex Credits a day.