Commit Graph

112 Commits

Author SHA1 Message Date
Muyao CHEN
de7c6f7223 test: add event repo tests 2024-10-23 23:29:44 +02:00
Muyao CHEN
0258ff6620 web: add test login and signup page
All checks were successful
Build and test / Build (push) Successful in 2m28s
2024-10-23 22:39:19 +02:00
Muyao CHEN
0da8b29507 test: try to test user repo and event repo
All checks were successful
Build and test / Build (push) Successful in 2m27s
2024-10-23 09:54:00 +02:00
Muyao CHEN
304651e7ff feat: implement event repo methods 2024-10-20 23:27:17 +02:00
Muyao CHEN
74ae6b7877 doc: add readme 2024-10-20 23:26:45 +02:00
Muyao CHEN
b4259e9a51 doc: add licence for event.go 2024-10-20 21:27:26 +02:00
Muyao CHEN
46c14b63ea feat: add a method for event. And introduce the mock
All checks were successful
Build and test / Build (push) Successful in 2m27s
2024-10-20 21:26:12 +02:00
Muyao CHEN
c27dfc687f minor: cleanup 2024-10-19 17:14:08 +02:00
Muyao CHEN
3d616bff50 db: finish sql commands
All checks were successful
Build and test / Build (push) Successful in 2m23s
2024-10-19 17:08:05 +02:00
Muyao CHEN
dac36db284 db: add more tables 2024-10-19 13:28:02 +02:00
Muyao CHEN
80a5f1f8a8 fix: CHANGE NAMES AGAIN. Just want to be clearer
All checks were successful
Build and test / Build (push) Successful in 2m20s
2024-10-18 23:24:31 +02:00
Muyao CHEN
a55fd26f90 repo: add some more sql for events 2024-10-18 21:41:53 +02:00
Muyao CHEN
dde4eb337c repo: add some sql for events
All checks were successful
Build and test / Build (push) Successful in 2m29s
2024-10-18 21:15:27 +02:00
Muyao CHEN
39eaae46d8 db: add migrations 2024-10-18 19:36:31 +02:00
Muyao CHEN
86832cf1f9 test: add wrong params test cases for session create 2024-10-17 22:12:31 +02:00
Muyao CHEN
350a6f86d9 doc: add diary for use cases
All checks were successful
Build and test / Build (push) Successful in 2m21s
2024-10-17 21:56:23 +02:00
Muyao CHEN
a7a915d825 feat: Impl event while refactoring user domain
All checks were successful
Build and test / Build (push) Successful in 2m21s
2024-10-16 23:47:06 +02:00
Muyao CHEN
29633e0e95 feat: use PO for repo layer
All checks were successful
Build and test / Build (push) Successful in 2m26s
2024-10-16 09:59:03 +02:00
Muyao CHEN
0e05924585 feat: rework entities design 2024-10-16 09:49:07 +02:00
Muyao CHEN
dfc2d1b2eb feat: add transaction and participation associations 2024-10-16 09:23:32 +02:00
Muyao CHEN
3b18a15494 feat: add event and expense BOs
All checks were successful
Build and test / Build (push) Successful in 2m18s
2024-10-16 00:13:38 +02:00
Muyao CHEN
c94b0b532b feat: add money value object 2024-10-16 00:05:05 +02:00
Muyao CHEN
606289be1a fix: create DTO in model and handle it in service level 2024-10-16 00:04:28 +02:00
Muyao CHEN
382da3d811 test: add test for session delete 2024-10-15 21:39:08 +02:00
Muyao CHEN
322b441c70 doc: add diary
All checks were successful
Build and test / Build (push) Successful in 2m21s
2024-10-15 21:08:06 +02:00
Muyao CHEN
20ef75b1aa feat: rework db conn to use sql.DB for better portability
All checks were successful
Build and test / Build (push) Successful in 2m20s
2024-10-15 14:01:53 +02:00
Muyao CHEN
1fb84a3ff4 feat: implement session delete using redis 2024-10-15 10:14:40 +02:00
Muyao CHEN
2fe834fe55 api: add session delete api doc 2024-10-13 22:22:44 +02:00
Muyao CHEN
544ccbe1ca doc: add diary
All checks were successful
Build and test / Build (push) Successful in 2m18s
2024-10-13 22:04:12 +02:00
Muyao CHEN
9290bcf88c fix: make create session works 2024-10-13 21:55:26 +02:00
Muyao CHEN
7ff91bab1d deploy: add redis image
All checks were successful
Build and test / Build (push) Successful in 2m19s
2024-10-13 21:11:23 +02:00
Muyao CHEN
ca2985abb4 feat: add session create 2024-10-13 21:10:33 +02:00
Muyao CHEN
798b9a7695 feat: Add jwt token pkg 2024-10-13 13:36:22 +02:00
Muyao CHEN
71926b2197 feat: Use gin default validator
All checks were successful
Build and test / Build (push) Successful in 2m9s
2024-10-12 23:30:36 +02:00
Muyao CHEN
79739e3751 fix: move testdb/testuser to a mock dir to be clearer 2024-10-12 18:52:27 +02:00
Muyao CHEN
addddb152a fix: move testdb/testuser to usecase dir. repo should only be interface defs
All checks were successful
Build and test / Build (push) Successful in 2m23s
2024-10-12 18:38:55 +02:00
Muyao CHEN
3e09afd4b0 feat: add usecase to check if a user exists 2024-10-12 18:33:19 +02:00
Muyao CHEN
c312b4e2c8 fix(mkfile): fix make sqlc 2024-10-12 18:31:18 +02:00
Muyao CHEN
eee5084821 feat: update openapi 2024-10-12 17:11:16 +02:00
Muyao CHEN
ce3076047a feat: add t.Helper to request helper 2024-10-12 17:09:03 +02:00
Muyao CHEN
9b6282a101 feat: make the request test helper public 2024-10-12 17:07:24 +02:00
Muyao CHEN
a3c2ade9fb feat: create session. (also print the x-rid into the log) 2024-10-11 23:24:29 +02:00
Muyao CHEN
be7f57d5a1 docs: Add design schemas
All checks were successful
Build and test / Build (push) Successful in 2m1s
2024-10-09 23:26:21 +02:00
Muyao CHEN
e1ca08db3a fix(ci): install npm
All checks were successful
Build and test / Build (push) Successful in 1m55s
2024-10-08 23:43:05 +02:00
Muyao CHEN
7209bc9c70 fix(ci): run-p not found
Some checks failed
Build and test / Build (push) Failing after 1m44s
2024-10-08 23:33:34 +02:00
Muyao CHEN
d35b47c7e6 fix: badge
Some checks failed
Build and test / Build (push) Failing after 1m39s
2024-10-08 23:29:00 +02:00
Muyao CHEN
5379895c4c feat: test gitea actions with frontend build and test!
Some checks failed
Build and test / Build (push) Has been cancelled
2024-10-08 23:28:00 +02:00
Muyao CHEN
8e73dc5f0b feat: test gitea actions with a real build!
All checks were successful
Build and test / Build (push) Successful in 2m10s
2024-10-08 23:22:00 +02:00
Muyao CHEN
cc505e5a74 feat: test gitea actions!
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m4s
2024-10-08 21:22:18 +02:00
Muyao CHEN
8f184ba797 feat: add Vue init project 2024-10-08 00:17:36 +02:00