Expenses
Small webapp to manage expenses and split expenses.
DOING
Implement scanning the invoice QR code to insert stuff into the tables
TODO
- On the categories page, add a column of how many times a given category is used
- Multiple categories per expense
- Make all the other items update/create page be like expenses
- Ability to attach a document to an expense
- [ ] Debts table - Ability to export data in multiple formats and with a selection of columns
- Migrate every column named "ExpenseSomething" to "ExpSomething"
- Make the models just return errors and not do any handling themselves
- Reduce the size of the font file
- Add some migration tool
- Ownership on the image for the expenses webapp dir need to be changed
- The button for deleting share rows isn't working at all unlike the payments
- Use shopspring/decimal for money handling
- Rename this file
- Better UX when adding expenses on the payments and share values (default even split)
- Verification popups for delete actions
Stack
- Go
- Gin Web Framework
- golang-migrate
- sqlc
- sqlite - postgresql
- python
- lua
Patterns
- Service Pattern
- Repository Pattern
Architecture
- MVC
Thanks to
https://threedots.tech/post/database-transactions-in-go/ https://github.com/m110