Compare commits

..

21 Commits

Author SHA1 Message Date
1c003486ca Fix linter issues
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2022-08-21 19:35:51 +00:00
71be1ac49f Send Content-Type on POST 2022-08-21 19:33:12 +00:00
d258ab63e4 Finish migration 2022-08-21 19:33:12 +00:00
9da4a6f03e Continue migration to echo 2022-08-21 19:33:12 +00:00
1a11555075 Continue migration to echo 2022-08-21 19:33:12 +00:00
b573553424 Start migration to echo 2022-08-21 19:33:12 +00:00
dd0f620b7a Merge pull request 'Add abilty to filter transactions by account, payee and category' (#55) from filtered-transactions into master
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: #55
2022-08-21 21:32:49 +02:00
42b732eedc Fix filters 2022-08-21 21:32:49 +02:00
f437491823 Implement filtering on frontend 2022-08-21 21:32:49 +02:00
dc15ae307b Remove old logging 2022-08-21 21:32:49 +02:00
f8a8a6fc0c Add date filtering to backend 2022-08-21 21:32:49 +02:00
a031dd5bb1 Add date filters to UI 2022-08-21 21:32:49 +02:00
d3ca3c87bf Make menu entry generic 2022-08-21 21:32:49 +02:00
77c1a6dd18 Make UI work for problematic and filtered transactions 2022-08-21 21:32:49 +02:00
a7e1826f52 Implement UI 2022-08-21 21:32:49 +02:00
94b5c4bbd3 Improve Backend 2022-08-21 21:32:49 +02:00
fdb64b2000 Add filters to UI 2022-08-21 21:32:49 +02:00
2ca3328f0f Implement backend 2022-08-21 21:32:49 +02:00
bd026732c8 Add 'Contributing' to README
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2022-07-26 00:02:22 +02:00
6032f6f526 „README.md“ ändern
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2022-07-25 23:42:34 +02:00
e1c6bd22d5 Merge pull request 'Improve available balance and show overspent last month' (#54) from available-balance into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #54
2022-04-24 21:23:17 +02:00
3 changed files with 23 additions and 25 deletions

View File

@ -1,20 +1,18 @@
# Budgeteer # Budgeteer
Budgeting Web-Application Budgeting Web-Application written in Go and inspired by [YNAB](https://youneedabudget.com).
## Data structure ## Getting started
1 User The fastest way to get up and running quickly, is using docker-compose. Just download the [docker-compose.yml](https://git.javil.eu/jacob1123/budgeteer/src/branch/master/docker/docker-compose.yml) to some empty directory and run `docker-compose up -d`. This starts budgeteer, a postgres database and an adminer instance. The latter is optional and can be removed from the docker-compose.yml.
N Budgets
AccountID[]
CategoryID[]
PayeeID[]
N Accounts ## Known issues
TransactionID[]
N Categories
AssignmentID[]
N Payees
N Transactions Currently the application is usable when importing from YNAB via their CSV export. All balances should match the balances from YNAB. There are even unit-tests that confirm that using my personal budget.
N Assignments
For people wishing to start fresh in Budgeteer, there currently are some blockers though:
- The ability to create new accounts and categories is missing (#59)
## Contributing
If you're willing to help, please check the issues for [help-wanted labels](https://git.javil.eu/jacob1123/budgeteer/issues?labels=4). Just using Budgeteer and reporting any issues is although very helpful.

View File

@ -10,11 +10,11 @@ import (
) )
type FilterTransactionsRequest struct { type FilterTransactionsRequest struct {
CategoryID string `json:"category_id"` CategoryID string `json:"categoryId"`
PayeeID string `json:"payee_id"` PayeeID string `json:"payeeId"`
AccountID string `json:"account_id"` AccountID string `json:"accountId"`
FromDate time.Time `json:"from_date"` FromDate time.Time `json:"fromDate"`
ToDate time.Time `json:"to_date"` ToDate time.Time `json:"toDate"`
} }
func (h *Handler) filteredTransactions(c echo.Context) error { func (h *Handler) filteredTransactions(c echo.Context) error {
@ -58,7 +58,7 @@ func parseEmptyUUID(value string) (uuid.NullUUID, bool) {
return uuid.NullUUID{}, false return uuid.NullUUID{}, false
} }
return uuid.NullUUID{val, true}, true return uuid.NullUUID{UUID: val, Valid: true}, true
} }
func (h *Handler) problematicTransactions(c echo.Context) error { func (h *Handler) problematicTransactions(c echo.Context) error {

View File

@ -93,11 +93,11 @@ export const useTransactionsStore = defineStore("budget/transactions", {
async GetFilteredTransactions(accountID : string | null, categoryID : string | null, payeeID : string | null, fromDate : string, toDate : string) { async GetFilteredTransactions(accountID : string | null, categoryID : string | null, payeeID : string | null, fromDate : string, toDate : string) {
const budgetStore = useBudgetsStore(); const budgetStore = useBudgetsStore();
const payload = JSON.stringify({ const payload = JSON.stringify({
category_id: categoryID, categoryId: categoryID,
payee_id: payeeID, payeeId: payeeID,
account_id: accountID, accountId: accountID,
from_date: fromDate, fromDate: fromDate,
to_date: toDate, toDate: toDate,
}); });
const result = await POST("/budget/" + budgetStore.CurrentBudgetID + "/filtered-transactions", payload); const result = await POST("/budget/" + budgetStore.CurrentBudgetID + "/filtered-transactions", payload);
const response = await result.json(); const response = await result.json();