Building My Spending Tracker
Spending Tracker is a mobile application designed to record and organize transactions for better transparency on personal spending. This was created during my spare time for personal usage.
I conducted brainstorm of pain points of how I currently manage my spending and budgeting. My findings revealed that:
- Spending was split across multiple financial instituitions and I had to manually consolidate the data every month
- Spending data is not easy to organize which makes it harder to identify trends and adjust habits accordingly
From these findings, I was able to better understand the objectives of this project. The core features of the MVP were to:
- Have a history of all my spending available in one convenient place
- Organize spending by categories and source (bank account, credit cards, etc)
- Automatically ingest data from banks and financial instituitions
- User accounts, authentication, and profile management
These requirements of the MVP are quite complicated and were further split into appropriately sized career for myself. The screens decided for this mobile application were:
- Login screen
- Wallet screen
- Card transactions screen
- Card spending summary screen
- Recent activity screen
- Categories screen
- Manage cards screen
- Personal information screen
- Change password screen
- Settings screen
I'm a big fan of minimalism and super simple user interfaces. I quickly put together rough sketches of the screen designs and user flows.
Once the designs were complete, I did a technical system design of the application's full stack and developed it. I created a test account and this is what the end result looked like:
A simple generic login screen with a simple graphic for saving money. It'd be best to update it with a logo for branding if the application were to ever go public.
A list transactions with a filter for a given card and month. The user can manage their transactions by long pressing on a transaction. This screen can only be accessed from the wallet screen.
A breakdown of spending by category filtered for a given card and month. This screen can only be accessed from the wallet screen.
A list of transactions that were most recently posted where users can add, edit, and delete transactions from this screen.
A grid of categories tiles where the user can view a list of transactions for a given category.
Users can create, edit, and delete cards to better organize transactions.
A list of shortcuts to access screens for account management, card management, and preferences.
The key technologies I used to build this application are React Native, Node.js, GraphQL, MongoDB, and Docker.
I went with a microservice architecture for some benefits such as independent deployability, scalability, and code independence. GraphQL was implemented as an API query layer and the intermediate between clients and microservices. Each service is packaged into Docker containers and deployed to AWS.
This system design was simple and doesn't have many scaling techniques in place because I was the only user. Inserting a load balancer and horizontally scaling the GraphQL nodes should be able to support handling heavier traffic in the possibility of a public release.
Unfortunately, I was not able to automate data ingestion from banks and other financial institutions because that kind of data is not available to the public. As an alternative, I was able to export my transactions to an excel spreadsheet for each of my financial statements and from there I could easily bulk upload the transactions into my application. This was more of a compromise I had to come to terms with but at least I didn't have to manually record every transaction.
Some key takeaways from this personal project are that:
- Taking the time to plan goes a long way. Many developers like to rush right into developing their personal projects, but taking the time to plan makes it so much easier.
- Experiencing your product leads to improvement. I was actively using the mobile application which made it easier to identify pain points. Many tech companies use this approach such as DoorDash.
- Catch bugs before they bite you. Setting up tests is very useful into the development process is crucial even if its a personal project so bugs don't make it into production.