|
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 |
|
|
c959d9f173
|
Add middleware package with auth.go
|
2024-08-03 08:43:08 +03:00 |
|
|
bfa9af930e
|
Add AmIAllowed func to tokens package
|
2024-08-03 08:22:01 +03:00 |
|
|
20c3beef53
|
Remove db package code that was used as example and testing
|
2024-08-03 08:17:18 +03:00 |
|
|
6c2032dd42
|
Add cards group of endpoints
|
2024-08-03 08:16:55 +03:00 |
|
|
2cca30a487
|
Create handlers for cards
|
2024-08-03 08:16:18 +03:00 |
|
|
39c953b6d6
|
Add Transfer to autoMigrate
|
2024-08-03 08:15:39 +03:00 |
|
|
ffa8d9211f
|
Create Transfer model for database
|
2024-08-03 08:15:02 +03:00 |
|
|
83cf0bd71c
|
Add UserID many-to-one relationship to User in db for Card
|
2024-08-03 08:06:46 +03:00 |
|
|
ffc4344adf
|
Add Message and DbCard types to types
|
2024-08-03 08:06:07 +03:00 |
|
|
aa69960519
|
Rename Account->Card in db package
|
2024-08-03 08:05:46 +03:00 |
|
|
cf09928a39
|
Small rename
|
2024-08-03 00:07:14 +03:00 |
|
|
0ffdeb7114
|
More groups!
|
2024-08-03 00:06:21 +03:00 |
|
|
f141e4c98c
|
Redo swag init correctly
|
2024-08-02 23:37:26 +03:00 |
|
|
52197fe0a6
|
Refactored main.go for http-server
|
2024-08-02 23:37:16 +03:00 |
|
|
1c12d29aa5
|
Add automigrate for users table
|
2024-08-02 23:37:05 +03:00 |
|
|
f35e5db1a9
|
Create user in database
|
2024-08-02 23:36:55 +03:00 |
|
|
e05c9185d6
|
Add handlers
|
2024-08-02 23:36:32 +03:00 |
|
|
5b7daead95
|
Changes in tokens
|
2024-08-02 23:36:31 +03:00 |
|
|
7a54ea796e
|
Move types to different folder
|
2024-08-02 23:36:25 +03:00 |
|
|
1e469dda3c
|
Add gin and swagger to http-server
|
2024-08-02 18:14:06 +03:00 |
|
|
c112af1f84
|
Add swagger
|
2024-08-02 18:13:53 +03:00 |
|
|
9ad1743810
|
Cmd test sub packages
|
2024-08-02 00:03:51 +03:00 |
|
|
8f4340dfb2
|
Forgot to add go mod files
|
2024-08-02 00:03:42 +03:00 |
|
|
10e3c7fd2e
|
Add some stuff to gitignore
|
2024-08-02 00:03:33 +03:00 |
|
|
00924debd5
|
Yep
|
2024-08-02 00:03:05 +03:00 |
|
|
4c319e8ba0
|
Create tokens package
|
2024-08-02 00:03:01 +03:00 |
|
|
6c15e218c9
|
Add whole schema
|
2024-08-02 00:02:55 +03:00 |
|
|
f06c4f645a
|
Initial commit
|
2024-03-23 20:21:53 +01:00 |
|