Build an Expense Tracker Without Coding: A Complete Beginner's Guide
An expense tracker is the most useful first app a beginner can build, because it answers a question you actually ask: where did my money go? You do not need a spreadsheet, you do not need to learn accounting, and you do not need to write a single line of code. You need a form, a list, and a total — and Lovable can build all three from one good description.
This guide builds "My Money", a small expense tracker, in Lovable, step by step. You will plan it on paper, send the first prompt, add an expense form, add categories and a total, add a simple chart, test it on your phone for a day, and publish it. By the end you will have a tracker you can open every time you buy something — and you will know the method for building any app that keeps a list. The same "My Money" idea built in Bolt.new is in How to Use Bolt.new to Build an App (https://vibecodingguide.blogspot.com/2026/11/how-to-use-bolt-new-to-build-an-app.html), so you can compare the two tools on the same project when you finish.
Table of contents
- What you will build
- Step 1: Plan it on paper
- Step 2: The first prompt — build the whole tracker
- Step 3: The add-expense form
- Step 4: Categories and the total
- Step 5: A simple chart
- Step 6: Test it on your phone for a day
- Step 7: Publish it and share it
- What it costs in credits
- Mistakes that ruin expense trackers
- Frequently asked questions
- What to read next
What you will build
A single-screen web app called "My Money" that does four things:
- Lets you add an expense: what you bought, how much it cost, and which category it belongs to.
- Shows your expenses in a list, newest first, with the amount next to each one.
- Adds them up and shows a total.
- Shows a simple chart of where the money went, by category.
That is the whole app. It does not need a login, a bank connection, or a budget — those are second projects. It needs a form you can fill in ten seconds while standing at a shop counter, because an expense tracker you only open at your desk is a tracker you will stop using by Thursday.
The example expenses in this guide are real numbers, and they have to add up — an expense tracker that cannot add is not a tracker:
| What | Category | Amount |
|---|---|---|
| Groceries | Groceries | $42.18 |
| Coffee | Coffee | $5.75 |
| Transport | Transport | $12.40 |
| Total | $60.33 |
Groceries $42.18 + Coffee $5.75 + Transport $12.40 = $60.33. Keep those three expenses in your tracker while you build it. Every total, every chart, and every test in this guide uses them, so if your app ever shows a different total, you know immediately that something is wrong. That is the point of fixed example numbers: they turn "does it work?" into a question with one right answer.
The tool is Lovable (lovable.dev). If you have never used it, read How to Use Lovable for Beginners (https://vibecodingguide.blogspot.com/2026/11/how-to-use-lovable-for-beginners.html) first — ten minutes, and it covers the sign-up and the first prompt. The method here is the one from How to Write Vibe Coding Prompts That Work (https://vibecodingguide.blogspot.com/2026/11/how-to-write-vibe-coding-prompts.html): one clear paragraph, four parts — what it is, who it is for, what it looks like, what it must do.
Step 1: Plan it on paper
Before you open Lovable, answer three questions on paper. Three lines is enough:
- What are the categories? Three is right for a first tracker: Groceries, Coffee, Transport. Every expense fits in one of them, and three categories make a chart readable. Ten categories make a chart nobody reads.
- What does one expense need? Three fields: what you bought, how much it cost, and the category. Nothing else. A date is nice — add it later, after the basics work.
- What does the total need to show? One number at the bottom of the list: the total of everything. Not a total per day, not a total per week — one total. You can add the fancy totals in version two.
Write the three example expenses under your plan — Groceries $42.18, Coffee $5.75, Transport $12.40, total $60.33 — because you will type them into the app as your first test, and you will compare the app's total with $60.33. If it says $60.33, the adding works. If it says anything else, you have your first fix message.
Step 2: The first prompt — build the whole tracker
Now open Lovable and send the first prompt. This is the big one — it builds the whole base app. Copy it and send it exactly:
"Build an expense tracker web app called 'My Money' for one person — me. The main screen has a form at the top with three fields: a text box for what I bought, a number box for the amount, and a category dropdown with three options: Groceries, Coffee, Transport. There is an 'Add expense' button. Below the form, show a list of my expenses, newest first, with the amount next to each one. At the bottom of the list, show the total of all my expenses. Start with these three expenses already in the list: Groceries $42.18, Coffee $5.75, Transport $12.40 — the total must be $60.33. Clean design — white background, dark text, green for the total. Save my expenses so they are still there when I close the page and come back tomorrow."
Lovable will think for a minute or two and show a first version. Check three things before you do anything else:
- The total says $60.33. Groceries $42.18 + Coffee $5.75 + Transport $12.40 = $60.33. If it says anything else, that is your first fix message — and it is a good one, because it tests the adding.
- The three expenses are in the list. If one is missing, say so in one message.
- The form works. Add a test expense — "Sandwich $6.50, Groceries" — and check that it appears in the list and the total goes up to $66.83. Then delete it again, so your tracker goes back to the clean $60.33.
Write down everything that does not work. That list is your work for Steps 3 to 5. Do not fix anything yet.
Step 3: The add-expense form
The form is the part you will touch every day, so it has to be fast and forgiving. Test it the way you will use it: standing up, on your phone, with one hand. If adding an expense takes more than ten seconds, the form is wrong.
Two fixes beginners almost always need. First, the amount box must accept decimals — $5.75, not just $5. If Lovable built a whole-number box, send one message:
"The amount box only accepts whole numbers. Make it accept decimals like $5.75. Do not change anything else."
Second, the form should clear itself after you add an expense, so the next expense starts from empty boxes. If it does not, send one message:
"After I click 'Add expense', clear the form so all three fields are empty again. Do not change anything else."
One more detail worth adding once the basics work: the category dropdown should remember your last category. If you buy three groceries in a row, you should not have to pick "Groceries" three times. Ask for it as its own message, after the form works — never bundle it with a fix, or you will not know which change broke what.
Step 4: Categories and the total
The list is where the tracker earns its name. Each expense shows three things: what, how much, which category. The total is one number at the bottom. Check it with your three example expenses: Groceries $42.18, Coffee $5.75, Transport $12.40, total $60.33. That total is your test for every change you make from here on — if it ever stops saying $60.33 with those three expenses in the list, something broke.
Two things to add in this step, one message each:
A total per category. Under the list, show three small lines: Groceries $42.18, Coffee $5.75, Transport $12.40. It is the same total, split three ways, and it is what turns a list into an answer — you can see at a glance that groceries are the big number.
"Below the total, add a small breakdown by category: Groceries, Coffee and Transport, each with its own total. Do not change anything else."
A delete button. Every expense needs a way to disappear, because you will mistype an amount — everyone does. A small delete button next to each expense, with a confirmation, is the whole feature:
"Add a small delete button to each expense in the list. When I click it, ask me to confirm, then remove that expense and update the total. Do not change anything else."
Test the delete with your test expense: add "Sandwich $6.50, Groceries" (total $66.83), delete it (total back to $60.33). If the total does not come back to $60.33, the delete is not updating the total — and that is a fix message, not a mystery.
Step 5: A simple chart
A list tells you what you spent. A chart tells you where it went. Add one chart and nothing more: a pie chart with three slices, one per category. Groceries is the big slice, Transport is the middle one, Coffee is the small one. That is the whole chart — do not ask for a bar chart, a line chart and a monthly view in the same message, or you will get three half-working charts instead of one working one.
"Add a pie chart below the category breakdown, showing my spending by category: Groceries, Coffee and Transport. One slice per category, with the category name next to each slice. Do not change anything else."
Check the chart against your numbers: the Groceries slice should be the biggest (Groceries $42.18 out of $60.33), Transport next ($12.40), Coffee smallest ($5.75). If the slices look wrong — if Coffee is bigger than Groceries, for example — the chart is reading the wrong numbers, and that is a fix message with one precise sentence: "The pie chart shows Coffee as bigger than Groceries, but Groceries is $42.18 and Coffee is $5.75. Fix the chart to use the real amounts."
Do not add a monthly chart, a trend line, or a budget warning yet. Those are version two. Version one is a list, a total, and one chart — and it works.
Step 6: Test it on your phone for a day
An expense tracker lives on your phone, so test it there — not on your laptop, where everything looks fine. Open the preview link on your phone and use it for one real day. Every time you buy something, add it. At night, check three things:
- The form is thumb-friendly. The text box, the amount box and the button are big enough to tap without zooming. If you have to pinch-zoom to tap "Add expense", the form is too small — send a fix message about tap size.
- The total is right. Add up your day's expenses yourself, on paper, and compare with the app's total. A tracker whose total you cannot trust is worse than no tracker at all.
- Everything is still there. Close the app, open it again an hour later. Your expenses must still be in the list. If they vanished, the saving is broken — and that is the most important fix in the whole project, because a tracker that forgets is useless.
One day of real use finds more problems than an hour of clicking around on a laptop. That is the test from How to Use Lovable to Build an App (https://vibecodingguide.blogspot.com/2026/11/how-to-use-lovable-to-build-an-app.html), and it works for the same reason: real use is the only test that cannot be faked.
Step 7: Publish it and share it
When the tracker survives a day of real use, publish it. In Lovable, click "Publish" and you get a live link — something like mymoney.lovable.app — that you can open on any phone. Before you share it with anyone, run the safety check from Is Vibe Coding Safe? (https://vibecodingguide.blogspot.com/2026/11/is-vibe-coding-safe.html):
- No real bank details. Your tracker holds what you spent, not where your money lives. Never type an account number, a card number, or a password into it.
- No other people's data. Your tracker is yours. Do not add your family's expenses with their names attached.
- Check the link on a phone. Open the published link on your phone, add one expense, delete it, and check the total. A published app is public — check it the way a stranger would.
Share the link with one person — a friend, a sibling — and ask them to add one expense. If they can do it without you explaining anything, the tracker is done. If they cannot, watch where they get stuck: that stuck place is your next fix.
What it costs in credits
Lovable's free plan gives you 5 build credits a day, up to 30 a month, and no card is needed to start. Prices checked 1 December 2026. A tracker like "My Money" usually takes 6 to 11 credits to finish, based on the same build in the Lovable guide:
| What you do | Messages | Credits |
|---|---|---|
| First prompt — the whole tracker | 1 | 1 |
| Form fixes (decimals, clearing the form) | 2 | 2 |
| Category totals + delete button | 2 | 2 |
| Pie chart | 1 | 1 |
| Phone test fixes | 1–3 | 1–3 |
| Total | 7–9 | 7–11 |
Seven to eleven credits is two to three days of the free plan — and the free plan gives you 5 credits a day, so you can finish the tracker without paying anything. If you run out mid-build, wait until tomorrow: the credits reset daily, and a night's sleep is a good time to decide what to fix next anyway. The paid plan, Lovable Pro, is $25 a month for 100 Pro credits (checked 1 December 2026) — worth it when you are building every week, not for your first tracker.
Mistakes that ruin expense trackers
Too many categories. Ten categories feel organised. They are not — they are ten decisions every time you add an expense, and decisions are what make you stop using the tracker. Three categories. Add a fourth only when you have used the tracker for two weeks and keep writing the same thing in "Other".
No delete button. You will mistype an amount in the first week — everyone does. Without a delete button, one typo lives in your list forever, your total is wrong forever, and you stop trusting the tracker. The delete button is not a nice extra. It is the feature that keeps the tracker honest.
A total you never check. The total is the test. If you never compare it with your own adding, you will not notice when it breaks — and totals break quietly, one bad edit at a time. Check it against $60.33 with the three example expenses every time you change something. Thirty seconds, every time.
Building the budget before the tracker. A budget is a rule on top of a tracker: spend less than this much on that category. If the tracker does not work yet, the rule has nothing to stand on. Build the tracker, use it for a week, then add the budget. The budget planner is a second project, not a first feature.
Typing real financial details into it. Your tracker is a list of what you bought, not a bank account. No account numbers, no card numbers, no passwords — ever. If a prompt asks Lovable to "connect my bank", stop: that is not a beginner feature, and it is not a safe one either.
Frequently asked questions
Do I need to know how to code to build an expense tracker?
No. This whole guide is built by describing the tracker in plain words — the form, the list, the total, the chart. Knowing a little code helps later, when you want to read what Lovable wrote, but it is not required to start or to finish.
How long does it take to build?
A beginner finishes "My Money" in one to two hours: the first prompt, a handful of one-feature fixes, a phone test, and a publish. The credit table above shows 7 to 9 messages — two to three days of the free plan if you spread it out, or one focused afternoon.
Why does the total have to be $60.33?
Because fixed numbers are a test. Groceries $42.18 + Coffee $5.75 + Transport $12.40 = $60.33 — if your tracker shows anything else with those three expenses in it, the adding is broken and you know it immediately. Change the expenses to your own once the tracker works, and check the new total by hand the same way.
Can I add more categories later?
Yes — and you should, but only after two weeks of real use. Add a fourth category when you keep writing the same thing down and it does not fit the first three. One category at a time, one message, test the total after each one.
Is my spending data safe in the tracker?
Your expenses are stored with your app, not with a bank, and the tracker holds no account numbers or passwords — keep it that way. Read the safety checklist in Is Vibe Coding Safe? (https://vibecodingguide.blogspot.com/2026/11/is-vibe-coding-safe.html) before you publish anything that holds your personal information.
Lovable or Bolt.new — which is better for an expense tracker?
Both build it well. This guide uses Lovable; the same "My Money" idea built in Bolt.new is in How to Use Bolt.new to Build an App (https://vibecodingguide.blogspot.com/2026/11/how-to-use-bolt-new-to-build-an-app.html). Build it in one, then try the other, and keep the one whose result you like more — the comparison teaches you more than either guide alone.
What to read next
- How to Use Bolt.new to Build an App (https://vibecodingguide.blogspot.com/2026/11/how-to-use-bolt-new-to-build-an-app.html) — the same "My Money" expense tracker, built in Bolt.new instead of Lovable.
- How to Use Lovable for Beginners (https://vibecodingguide.blogspot.com/2026/11/how-to-use-lovable-for-beginners.html) — the Lovable guide to read first if you have never opened the tool.
- How to Write Vibe Coding Prompts That Work (https://vibecodingguide.blogspot.com/2026/11/how-to-write-vibe-coding-prompts.html) — the four-part prompt shape behind the first prompt in this guide.
- Vibe Coding Project Ideas for Beginners — 11 more apps to build after the tracker, including the budget planner that adds limits to these same expenses.
- Is Vibe Coding Safe? (https://vibecodingguide.blogspot.com/2026/11/is-vibe-coding-safe.html) — the safety check to run before you publish anything that holds your personal information.
Published 1 December 2026. Prices checked 1 December 2026.




Comments
Post a Comment