Commit Graph

178 Commits

Author SHA1 Message Date
db53f2a486 Add implicit implementation of db.UserIdentifiable for Card 2024-10-31 10:09:38 +02:00
506586a187 Add db.Identifiable and db.UserIdentifiable interfaces 2024-10-31 10:09:10 +02:00
55ea7409ed Add ID field to types.DbType 2024-10-31 10:07:48 +02:00
06bb34c0d7 Fix token issue 2024-10-31 10:07:36 +02:00
cfb97485e3 Add DbType for API requests 2024-10-29 12:27:26 +02:00
713f19a201 Add comment field for Item schema 2024-10-29 12:25:01 +02:00
0e081297d0 Add Type to database schema 2024-10-29 12:24:46 +02:00
9cf82d5301 Add income routes 2024-08-14 18:21:03 +03:00
94b933031f Add income handlers 2024-08-14 18:20:57 +03:00
9f4a9e3a83 Add DbIncome 2024-08-14 18:20:51 +03:00
746b4f15e7 Add Content-Type to AllowHeaders 2024-08-14 15:05:55 +03:00
db78c5c6c2 small 2024-08-14 15:05:42 +03:00
514d2bac59 Make api listens to localhost 2024-08-12 18:48:09 +03:00
2eec801907 Make api listens to 3001 port on localhost 2024-08-12 18:47:36 +03:00
7adde1fee1 Add debt CRUD routes 2024-08-12 18:33:17 +03:00
30c7251e64 Remove cfyne as it will be anothe application. 2024-08-12 18:32:00 +03:00
f071c72335 Add debt handlers 2024-08-12 18:31:14 +03:00
0947a4fdf5 Add DbDebt to types 2024-08-12 18:31:07 +03:00
a09f3f87e9 Change localhost to some domain 2024-08-08 20:30:59 +03:00
1d1463b38f Add user to debt and income 2024-08-08 20:14:50 +03:00
43005c6f3b .... 2024-08-06 23:59:05 +03:00
74dda89c69 Add listening on localhost 2024-08-06 23:08:50 +03:00
e7c4327fce Add instal-swag target to Makefile 2024-08-06 22:54:24 +03:00
ecdc3b235c Add ping 2024-08-06 22:51:34 +03:00
d5c898520d Add CORS 2024-08-06 14:32:10 +03:00
ea2c50c654 Add Date and User binding to Transfer 2024-08-03 15:50:22 +03:00
3b17cff1ea Add comment to income 2024-08-03 15:50:03 +03:00
9adad26639 Add comment to debt 2024-08-03 15:49:58 +03:00
7a63668801 Add redirects 2024-08-03 13:43:58 +03:00
523b90b604 Add categories routes 2024-08-03 13:40:17 +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
ab22cdf2ef Add DbCategory struct to types package 2024-08-03 13:39:42 +03:00
218ef61537 Fixes 2024-08-03 10:57:13 +03:00
5ce7223b92 Fix for category when searching parents when ParentID is zero 2024-08-03 10:52:38 +03:00
12fd07c0a3 Add Category.BeforeSave func 2024-08-03 10:49:46 +03:00
f59b57f147 Add user to Category 2024-08-03 10:46:15 +03:00
8960e2e7ba Add userID to dup find for Card 2024-08-03 10:45:09 +03:00
daec467e8c Add cloc-api target for Makefile 2024-08-03 10:44:17 +03:00
40fa706514 Add BeforeSave to card 2024-08-03 10:44:06 +03:00
0c9bde7c5e Typo 2024-08-03 09:54:29 +03:00
fd5d283946 Add all CRUD Routes for cards 2024-08-03 09:53:50 +03:00
237389d179 Add CardPutId and CardDeleteId handlers 2024-08-03 09:53:38 +03:00
c61d0337b3 Add id field to DbCard in types package 2024-08-03 09:53:22 +03:00
5a830c9bef Create util package 2024-08-03 09:53:08 +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
63c96edc88 Add setting userID from token as in middelware 2024-08-03 08:50:06 +03:00
2d61d59179 Add Id to tokens.Token struct and func GetID to tokens package 2024-08-03 08:48:33 +03:00
39cecc80d1 Add Middleware to routes and update Swagger to add that 2024-08-03 08:43:41 +03:00