Commit Graph

19 Commits

Author SHA1 Message Date
9731073e9f Refactor Debt handlers 2024-11-02 00:05:53 +02:00
de7926337a Change db.Card.Value to db.Card.Balance and types.DbCard.Value to types.DbCard.Balance 2024-11-01 09:26:37 +02:00
340b39c35e Refactor category handlers 2024-10-31 23:06:42 +02:00
30c6c59e63 Add type handlers 2024-10-31 11:41:49 +02:00
0c4cca73a5 Refactored Card handlers so they will take 150 less lines of code 2024-10-31 11:07:51 +02:00
33b5b73ab2 Add generic CRUD interface for UserIdentifiable entities 2024-10-31 11:07:34 +02:00
b09e85b4cb Extract GetUserID and ParseID to boilerplate.go in handlers package 2024-10-31 11:05:52 +02:00
94b933031f Add income handlers 2024-08-14 18:20:57 +03:00
f071c72335 Add debt handlers 2024-08-12 18:31:14 +03:00
ecdc3b235c Add ping 2024-08-06 22:51:34 +03:00
7c37151a31 Add categories handlers 2024-08-03 13:40:11 +03:00
045221a3ad Remove useless body requirement for CardDeleteId 2024-08-03 13:40:01 +03:00
0c9bde7c5e Typo 2024-08-03 09:54:29 +03:00
237389d179 Add CardPutId and CardDeleteId handlers 2024-08-03 09:53:38 +03:00
52ce4a181b Add handling and securing info from different users 2024-08-03 09:15:52 +03:00
aa985e6715 Add handling UserID from c.params for CardAdd handler 2024-08-03 09:10:40 +03:00
39cecc80d1 Add Middleware to routes and update Swagger to add that 2024-08-03 08:43:41 +03:00
2cca30a487 Create handlers for cards 2024-08-03 08:16:18 +03:00
e05c9185d6 Add handlers 2024-08-02 23:36:32 +03:00