Smart Expense Tracker — offline-first mobile app
A real Android app that works with the internet off, and auto-categorises what you spend.
Most mobile projects are a form over an API and die when the campus wifi drops during the demo. This one stores everything in on-device SQLite, works fully offline, and syncs when a connection returns. Expenses are auto-categorised from the merchant text, budgets raise alerts before they are breached, and the charts are computed from real queries rather than hardcoded arrays. It installs on the examiner's phone.
- Level
- Intermediate
- Live sessions
- 7
- Seats per college
- 2 / year
What it does
- Add, edit, and delete expenses entirely offline — no network required
- Auto-categorisation of expenses from merchant and note text
- Monthly budgets per category with alerts before the limit is crossed
- Charts for spend by category and trend over time, from live queries
- Background sync to a Node backend once a connection returns
- Export a monthly statement as CSV
What the sessions cover
- 01Why offline-first, and what that forces in the architecture
- 02Expo project structure, navigation, and screen composition
- 03The SQLite layer — schema, migrations, and typed queries
- 04State with Zustand, and keeping the UI in sync with the database
- 05Categorisation logic and the budget alert engine
- 06The sync protocol: queueing writes and resolving conflicts
- 07Charts, building the APK, and mock viva on the offline design
Stack
How it works
Every expense is written to an SQLite database on the phone first, so adding, editing and deleting work with no network at all. Each row carries a client-generated id, an updatedAt timestamp and a dirty flag that marks it as not yet synced.
Categories are suggested from the merchant and note text using keyword rules, and the app remembers corrections: if the user moves a merchant to a different category once, the next expense from that merchant is categorised the same way. Budgets per category are compared with the month's total after every insert, and a local notification fires at 80 per cent.
When the phone is back online, the sync step sends dirty rows to the Node API and pulls rows changed on the server since the last sync. Charts are drawn with Victory Native from SQL aggregate queries, so they always reflect the data on the device.
The data
SQLite tables for expenses, categories, budgets and a sync metadata row holding the last sync time. The server keeps the same records per user, keyed by the client-generated id so that the same expense is never created twice. A monthly statement is exported as CSV through the share sheet.
The hard parts examiners ask about
Offline first, not offline as a fallback
The UI reads and writes only the local database; the network is a background concern. That is why the app feels instant and never shows a spinner for adding an expense.
Sync conflicts
The same expense can be edited on two devices. The project uses last-write-wins on updatedAt and keeps deletes as tombstones, so a deleted row on one device is not resurrected by the other.
IDs without a server
Auto-increment ids clash across devices. UUIDs generated on the phone give every expense a unique identity before the server ever sees it.
Viva questions on this project
- What does offline-first mean?
- The app treats the local database as the primary store and syncs with the server when it can, instead of needing the server for every action. The user never waits for the network.
- How are sync conflicts resolved?
- Last write wins, comparing updatedAt timestamps. Deletes are stored as tombstones with a deleted flag, so the deletion itself syncs instead of the row simply vanishing.
- Why SQLite and not AsyncStorage?
- AsyncStorage is a key-value store, so monthly totals per category would need the app to load and sum everything in JavaScript. SQLite runs those aggregates as queries with indexes.
- Why Zustand for state?
- It is small, needs no provider boilerplate, and the store here only holds UI state and a cache of query results. The real data lives in SQLite.
- How does auto-categorisation work?
- Keyword rules map merchant and note text to categories, and the user's corrections are saved as merchant-to-category overrides that take priority next time. It is deliberately rule-based, so its decisions can be explained.
Pick what you need
Direct UPI / bank transfer in monthly installments. Sessions start after the first installment; handover is after the final installment. Full terms — including what happens if you stop midway.
Source
₹5,000
single payment
- Full source code
- Local setup guide
- Sample dataset / seed data
- One handover call
Academic
₹9,000
or ₹4,500/month × 2
- Everything in Source
- Project report (synopsis + full document)
- Presentation deck
- ER / DFD / architecture diagrams
- Deployment walkthrough
Mentored
Most picked₹15,000
or ₹5,000/month × 3
- Everything in Academic
- 7 live sessions on Google Meet
- Line-by-line code walkthrough
- Viva question prep + mock viva
- One module varied for you (dataset / domain)
- WhatsApp support until submission
This page has no reviews on it yet. Be the reason it does.
The first 3 students get 40% off in exchange for an honest review and permission to show your finished project here. Same build, same sessions, same handover — the discount is the price of going first, and it is not coming back once those seats are gone.
You are about to send money to a stranger on the internet.
Fair. So here is everything you need to check who I am — all of it public, all of it older than this page.
Two things I hold myself to
- Only 2 students from your college get this project in an academic year. On the Mentored tier one module is varied for you — the dataset, the domain, or a feature — so no two submissions read the same.
- You build nothing. You just have to be able to explain it. The project is delivered finished — code, report, diagrams, deployed. Then daily 60-minute sessions on Google Meet after 8:00 PM IST, walking the code you are submitting, ending in a mock viva. Turn up and you will know it well enough to answer anything the panel asks.
Enquire about this project
Tell me your submission deadline and which tier fits. You get a session schedule and an installment split back — usually within a day.