Commit Graph

593 Commits

Author SHA1 Message Date
Michael Bumann
51eb9b493d Merge branch 'main' into addinvoice-endpoint 2022-01-08 17:02:30 +02:00
Michael Bumann
f492af63e0 Merge pull request #15 from bumi/refactor-tokens
Add tokens in separate directory
2022-01-08 16:16:24 +02:00
Viktor Patchev
420aeb5dd1 Add password hashing 2022-01-08 12:55:56 +01:00
Viktor Patchev
47d8b70429 Add tokens in separate directory 2022-01-08 12:14:52 +01:00
Viktor Patchev
8618139539 Merge pull request #6 from bumi/add-logging
Add logging and recover middlewares
2022-01-08 10:55:13 +01:00
Viktor Patchev
71a19e9306 Merge pull request #12 from bumi/http-req-body-limit
Add http req body limit
2022-01-08 10:53:45 +01:00
Viktor Patchev
e69c1bc0bd Merge branch 'main' into http-req-body-limit 2022-01-08 10:53:13 +01:00
Viktor Patchev
3460c89954 Change req body limit to 250K 2022-01-08 10:51:43 +01:00
Viktor Patchev
645a63ba28 Fix adding jwt middleware 2022-01-08 10:44:18 +01:00
Viktor Patchev
86ac428767 Merge branch 'main' into addinvoice-endpoint 2022-01-08 10:41:30 +01:00
Michael Bumann
bc3cfd54b8 Merge pull request #13 from bumi/graceful-shutdown
Server graceful shutdown
2022-01-08 11:35:14 +02:00
Michael Bumann
0dae101e93 Merge branch 'main' into graceful-shutdown 2022-01-08 11:35:08 +02:00
Michael Bumann
2de58e821e Merge pull request #14 from bumi/add-rate-limiter
Add default rate limiter
2022-01-08 11:34:14 +02:00
Viktor Patchev
4cb8996aa3 Add default rate limiter 2022-01-07 20:47:16 +01:00
Viktor Patchev
87af4fcd93 Server graceful shutdown 2022-01-07 20:41:50 +01:00
Viktor Patchev
622088a97d Add http req body limit 2022-01-07 20:35:56 +01:00
Viktor Patchev
cd2bee98ef Add invoice endpoint 2022-01-07 18:24:04 +01:00
Viktor Patchev
7aefaf3905 Changed json response on /create 2022-01-07 11:38:50 +01:00
Viktor Patchev
ed2d97e59e Load req params from raw json 2022-01-07 11:28:38 +01:00
Viktor Patchev
04ffbd826b Remove group routes 2022-01-07 11:00:33 +01:00
Michael Bumann
668f8e5884 Add Echo recover middleware 2022-01-07 00:28:00 +01:00
Michael Bumann
1eba960c02 Add Echo request logging 2022-01-07 00:26:30 +01:00
Viktor Patchev
ccdb9bb614 Create refresh token and update db field 2022-01-06 18:54:44 +01:00
Viktor Patchev
b86e4fa54b Update access token in db and add loggedIn middleware 2022-01-06 18:43:42 +01:00
Viktor Patchev
98edef469e Generate random alphanumeric strings for login and passowrd 2022-01-06 18:14:25 +01:00
Viktor Patchev
00ccf96f76 User authentication logic 2022-01-06 17:43:55 +01:00
Viktor Patchev
5ec945e2c9 Setup tests 2022-01-06 15:08:57 +01:00
Viktor Patchev
232511214f Create user logic 2022-01-06 14:19:45 +01:00
Viktor Patchev
8c20078aa4 Clean code 2022-01-06 13:42:24 +01:00
Viktor Patchev
f7acbf78aa Add conditional db connection 2022-01-06 13:16:40 +01:00
Viktor Patchev
6c3ff64836 Update to newer gorm version 2022-01-06 11:09:01 +01:00
Viktor Patchev
da7701214e Add models 2022-01-05 19:29:47 +01:00
Viktor Patchev
9b82f56bfb Fixes 2022-01-05 18:43:37 +01:00
Viktor Patchev
1d7570be5e Update model and add access token generation 2022-01-05 18:16:29 +01:00
Viktor Patchev
7f803edbbb Add routes 2022-01-05 16:32:10 +01:00
Viktor Patchev
4188da0077 Remove unnecessary routes 2022-01-05 16:19:35 +01:00
Viktor Patchev
2913dc652f Update user model 2022-01-05 15:57:54 +01:00
Viktor Patchev
a8e8b15e79 Setting up the project 2022-01-04 23:25:29 +01:00
Michael Bumann
6427d6256f Update notes.md 2022-01-04 17:49:33 +02:00
Michael Bumann
fc8185f918 Update notes.md 2022-01-04 17:20:59 +02:00
Michael Bumann
608057d4a4 Update notes.md 2022-01-04 16:51:42 +02:00
Michael Bumann
d3d15cc500 Create notes.md 2022-01-04 16:27:39 +02:00
Michael Bumann
bf2468078c Initial commit 2022-01-04 16:23:50 +02:00