Block a user
b30a5c5c2d
feat: implement repo expense methods
58cff774e6
feat: add expense repo type conversion
716a58d44c
fix: use simple slices instead of []*T
de7c6f7223
test: add event repo tests
0da8b29507
test: try to test user repo and event repo
304651e7ff
feat: implement event repo methods
74ae6b7877
doc: add readme
b4259e9a51
doc: add licence for event.go
46c14b63ea
feat: add a method for event. And introduce the mock
c27dfc687f
minor: cleanup
0dbf5c6234
fix: CHANGE NAMES AGAIN. Just want to be clearer
a55fd26f90
repo: add some more sql for events
dde4eb337c
repo: add some sql for events
39eaae46d8
db: add migrations
86832cf1f9
test: add wrong params test cases for session create
29633e0e95
feat: use PO for repo layer
0e05924585
feat: rework entities design
dfc2d1b2eb
feat: add transaction and participation associations
3b18a15494
feat: add event and expense BOs
c94b0b532b
feat: add money value object
606289be1a
fix: create DTO in model and handle it in service level
382da3d811
test: add test for session delete
20ef75b1aa
feat: rework db conn to use sql.DB for better portability
1fb84a3ff4
feat: implement session delete using redis
2fe834fe55
api: add session delete api doc
7ff91bab1d
deploy: add redis image
ca2985abb4
feat: add session create
798b9a7695
feat: Add jwt token pkg
71926b2197
feat: Use gin default validator
79739e3751
fix: move testdb/testuser to a mock dir to be clearer
addddb152a
fix: move testdb/testuser to usecase dir. repo should only be interface defs
3e09afd4b0
feat: add usecase to check if a user exists
c312b4e2c8
fix(mkfile): fix make sqlc
eee5084821
feat: update openapi
ce3076047a
feat: add t.Helper to request helper