189 Commits

Author SHA1 Message Date
104414badd ft/adds getaccount and listaccounts 2023-10-05 15:45:34 +02:00
a3107520d4
Update README.md 2023-10-05 13:51:15 +02:00
95d9c8e0f1 fix/moves proto.service.Sessions and Accounts back together 2023-10-05 04:08:01 +02:00
d4690ab68c
Merge pull request #69 from itsscb:itsscb/issue_add-gRPC-server-and-endpoints-using-protobuf-6
add gRPC server and endpoints using protobuf
2023-10-05 01:41:09 +02:00
c54a24a34f add gRPC server and endpoints using protobuf
Fixes #6
2023-10-05 03:20:02 +02:00
48fa8bebe0 ch/removes accidental comment 2023-10-04 01:31:49 +02:00
7d2e0a8819
Add openAPI documentation (#68) 2023-10-03 23:36:46 +02:00
c6178e9cd3
Add BlockSession (#66) 2023-10-02 23:32:16 +02:00
07b6d07fce fix/removes count parameter from Makefile 2023-10-02 22:49:03 +02:00
9b161ddb84
Add providers for testing to the db (#63) 2023-10-02 22:45:44 +02:00
37017cb1e9
Update README.md 2023-10-02 22:10:20 +02:00
86186af05a
Itsscb/issue_Add-Dockerfile-for-backend-57 (#61)
* Add Dockerfile for backend
Fixes #57

* Add Dockerfile for backend
Fixes #57

* removes a temporary test relict

* Major changes in Makefile
2023-10-02 22:03:23 +02:00
a9c53952de
Add Dockerfile for backend (#60)
* Add Dockerfile for backend
Fixes #57

* Add Dockerfile for backend
Fixes #57

* removes a temporary test relict
2023-10-02 20:41:29 +02:00
796158b436 fix/path to config, mock and module name 2023-10-02 10:12:08 +02:00
6a729425cb
Merge pull request #59 from itsscb/itsscb/issue_Move-backend-files-into-subfolder-bff-58
Move backend files into subfolder bff
2023-10-02 10:06:37 +02:00
2fc46b274b fix/typo 2023-10-02 10:05:15 +02:00
4684a58013 fix/path of migrate 2023-10-02 10:01:45 +02:00
594d5a0435 Move backend files into subfolder bff
Fixes #58
2023-10-02 09:59:45 +02:00
877fccbf46 rf/changes name from passwordhash to new_password in api.updateAccount 2023-10-01 23:33:39 +02:00
98cbada07d fix/typo & minor changes 2023-10-01 15:50:11 +02:00
708aadcb5a
Add README.md (#53) 2023-10-01 15:26:32 +02:00
03a0547c3b
Change api.route accounts/login to login (#52) 2023-10-01 14:42:38 +02:00
98b4368b6f
Change Makefile to only support docker (#51) 2023-10-01 14:41:45 +02:00
79f4acaa58
Change field changer to use email of current user (#46) 2023-09-29 00:22:43 +02:00
8ccc74b677
Change paseto package to go-paseto (#45) 2023-09-28 23:12:50 +02:00
e26f46b5d2
Add login logic (token) (#42) 2023-09-28 00:17:03 +02:00
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
a07c91e9b9
add consistency to sqlc queries - quotations (#35) 2023-09-25 00:50:11 +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
a44a888ee9 Merge branch 'master' of https://github.com/itsscb/df 2023-09-21 22:48:11 +02:00
0202c74edc
Itsscb/issue_add-http-server-5 (#18) 2023-09-21 22:46:11 +02:00
921250056b rf/removes account.username
seems unneccessary because email is already a unique identifier
2023-09-21 21:47:08 +02:00
fb6735c630 rf/renames customer to account
seems to be more idiomatic
2023-09-21 21:41:30 +02:00
b88be701bb
add dynamic configuration using viper (#16) 2023-09-21 19:18:18 +02:00