19 Commits

Author SHA1 Message Date
d1cdce72ed
Extract PrivacyAccepted fields into separate calls (#41) 2023-09-27 20:49:05 +02:00
34889a5fcf
add privacy fields of db.account to db calls and endpoints (#38) 2023-09-27 00:30:29 +02:00
b5f39995b2
change db.createAccounTx output from CreateAccountTxResult to Account (#33) 2023-09-25 00:34:54 +02:00
1ad3aa8d4f
add db.updateAccountTx transaction (#31) 2023-09-25 00:28:16 +02:00
800132d683 ft/add db.createAccountTx transaction 2023-09-24 23:56:45 +02:00
574ff62559 ft/adds tests for api.account
- createAccount
- updateAccount
2023-09-23 23:24:07 +02:00
46e08be073 rf/replaces http.Status of api.GetAccount 2023-09-23 23:22:33 +02:00
3fad3f069b
add api.updateAccount endpoint (#25) 2023-09-23 22:47:11 +02:00
560fc3fbcc ft/adds more tests for api.account 2023-09-23 22:00:09 +02:00
411d3ff6a9
add logs using log/slog (#23) 2023-09-23 20:29:14 +02:00
3d4b84fbe2
Add util.Config to api.Server and app.env variable for loglevel (#22) 2023-09-23 19:53:56 +02:00
bfb91cf3f7 ft/adds status to logger 2023-09-22 23:02:47 +02:00
83a9648b7a ft/adds logger to api.server 2023-09-22 21:21:45 +02:00
933347095a ft/adds first test for api.CreateAccount 2023-09-22 15:19:06 +02:00
d8c8963347 rf/replace RandomUser() with RandomName() 2023-09-22 13:30:04 +02:00
fa088f6156
ft/add first tests to api/account (#20) 2023-09-21 23:24:48 +02:00
f090e5fc9d ft/adds mock db using mockgen
go.uber.org/mock/mockgen
2023-09-21 23:06:43 +02:00
ba079a44e0
add http routes accounts (#19) 2023-09-21 22:51:21 +02:00
0202c74edc
Itsscb/issue_add-http-server-5 (#18) 2023-09-21 22:46:11 +02:00