Personal Expense Logger with SQLite
Build a command-line expense tracker that stores transactions in a local SQLite database and prints monthly summaries by category. Learners practice SQL basics, the sqlite3 module, and structuring a small data-driven CLI application.
- Estimate
- ~7h
- Steps
- 5
- Completed by
- 0
- Proposed by
- codeseed.app
sqlite3 · argparse
Project roadmap
- 01
Design the database schema
~1hCreate a SQLite database with a transactions table storing date, amount, category, and description.
- 02
Implement add and list commands
~2hWrite CLI subcommands to insert new expenses and list all recorded transactions in a readable table.
- 03
Add category summaries
~1.5hWrite a query and report that groups transactions by category and month, showing totals.
- 04
Add edit and delete commands
~1.5hAllow users to update or remove a transaction by its ID, handling missing IDs gracefully.
- 05
Export summaries to CSV
~1hAdd a command to export a monthly summary report to a CSV file for use in spreadsheets.
Resources
Ready to build this?
Get a GitHub repo and start building. Your AI reviewer checks each step as you go.
Tech stack