feat: Finance API + тесты + CI/CD #1

Merged
daniil merged 11 commits from dev into main 2026-03-01 05:14:22 +00:00

11 Commits

Author SHA1 Message Date
Cosmo
e782367ef0 test: add finance handler, service, repository tests
All checks were successful
CI / ci (push) Successful in 36s
2026-03-01 05:12:07 +00:00
Cosmo
23939ccc92 feat: add finance module (categories, transactions, summary, analytics)
All checks were successful
CI / ci (push) Successful in 12s
- model/finance.go: FinanceCategory, FinanceTransaction, Summary, Analytics
- repository/finance.go: CRUD + summary/analytics queries
- service/finance.go: business logic with auto-seed default categories
- handler/finance.go: REST endpoints with owner-only check (user_id=1)
- db.go: finance_categories + finance_transactions migrations
- main.go: register /finance/* routes

Endpoints: GET/POST/PUT/DELETE /finance/categories, /finance/transactions
GET /finance/summary, /finance/analytics
2026-03-01 04:22:10 +00:00
Cosmo
8d9fe818f4 Add unit tests for middleware, models, services, handlers, and repository helpers
All checks were successful
CI / ci (push) Successful in 35s
2026-03-01 02:32:59 +00:00
Cosmo
2b4a6ce4c8 ci: clean workflows (deploy via cron)
All checks were successful
CI / ci (push) Successful in 11s
2026-03-01 00:30:40 +00:00
Cosmo
13b4435c45 ci: add deploy trigger via curl
All checks were successful
CI / ci (push) Successful in 15s
2026-03-01 00:25:53 +00:00
Cosmo
edbd565ad3 test: webhook 2
All checks were successful
CI / ci (push) Successful in 15s
2026-03-01 00:23:40 +00:00
Cosmo
d4bb0bdfb9 test: webhook trigger
All checks were successful
CI / ci (push) Successful in 13s
2026-03-01 00:23:04 +00:00
Cosmo
76d12f362a docs: add readme
All checks were successful
CI / ci (push) Successful in 9s
2026-03-01 00:21:35 +00:00
Cosmo
8811a9078b ci: add go mod tidy step
All checks were successful
CI / ci (push) Successful in 32s
2026-03-01 00:14:23 +00:00
Cosmo
b544a8c9a3 ci: fix network
Some checks failed
CI / ci (push) Failing after 34s
2026-03-01 00:12:00 +00:00
Cosmo
b91e67ac1d ci: add Gitea Actions workflows and placeholder tests
Some checks failed
CI / ci (push) Failing after 47s
2026-03-01 00:05:08 +00:00