Command-line expense tracker
Build a small program that adds, lists and summarises expenses by category and month, saving everything to a file, with tests.
What this proves to recruiters
- You can build a complete program on your own.
- You handle files and bad input properly.
- You write tests and a clear README.
Skills you will use
- Python or Java
- File handling
- Testing
- Git
What you need
Nothing to buy: this project only needs a computer and the free software below.
Free software
- Python 3 (or Java)
- pytest
- Git and GitHub
Steps
- Design the commands: add, list, summary and delete.
- Store expenses in a CSV or JSON file, one record per expense.
- Validate every input: amounts must be positive numbers, dates real dates.
- Write the monthly summary grouped by category.
- Write tests for adding, deleting and summarising, including bad input.
- Write a README with example commands and push to GitHub.
Make it stand out
- Add a budget per category with warnings.
- Export a monthly chart as an image.
Put it on your resume
Built a tested command-line expense tracker in Python with file persistence, input validation and monthly summaries.
Replace each [x] with a number you measured. Real numbers make a line believable.
Keep going
This project fits stage 1, “Programming foundations”, of the Software engineering roadmap. See also how freshers get into associate software engineer jobs.
More Software engineering projects
- CPU scheduling simulatorBeginner1–2 weekendsFree: software only
- Lab slot booking app for your collegeIntermediate4–5 weekendsFree: software only
- URL shortener with caching and analyticsIntermediate2–3 weekendsFree: software only
- Write an interpreter for a tiny languageAdvanced4–6 weekendsFree: software only