Commit Graph

20 Commits

Author SHA1 Message Date
kiwiidb
96c490f29e Merge pull request #75 from getAlby/feature/index-page
Feature/index-page
2022-01-28 13:00:44 +01:00
Michael Bumann
084ddda390 Update go mod
and define Go version for heroku deployments
2022-01-27 17:35:37 +01:00
kiwiidb
5c1b27398b add index page 2022-01-27 16:04:03 +01:00
Viktor Patchev
919affa2db Update package name to new repo 2022-01-18 10:42:53 +01:00
Michael Bumann
aabbfc33b5 Merge master and use correct lnd version 2022-01-17 18:45:47 +01:00
Viktor Patchev
23dd07374f go modules update 2022-01-17 13:54:06 +01:00
Viktor Patchev
2bf39e0f97 Setup lnd grpc client 2022-01-17 12:53:47 +01:00
Michael Bumann
236427b8e2 Use Echo logger 2022-01-17 10:22:02 +01:00
Michael Bumann
698323a8d9 Echo logging 2022-01-17 10:19:17 +01:00
Michael Bumann
1b347c5177 Move JWT middleware config to tokens and load UserId into the context 2022-01-16 13:26:42 +00:00
Roman Useinov
628071160c Cleanup (#25)
* remove cmd folder as we are going to have only one entrypoint

* get rid of pkg directory

* rename test -> integration_tests as unit tests should reside next to the actual files they are testing

* database migration WIP

* reinstate gorm boilerplate in the addinvoice for now to make it compile

* introduce migrations

* add Makefile

* don't use unsigned types for database mappings

* migrations work now

* add build target

* use echo groups

* gorm removed

* add envconfig

* fix comments
2022-01-16 00:49:19 +01:00
Viktor Patchev
0ccc4ed47d Sentry initialization 2022-01-14 18:45:01 +01:00
Michael Bumann
1cb0ec3739 Use pure go implementaiton for sqlite
apparently CGO is a bit of a pain?
2022-01-10 22:06:27 +01:00
Viktor Patchev
cd2bee98ef Add invoice endpoint 2022-01-07 18:24:04 +01:00
Viktor Patchev
b86e4fa54b Update access token in db and add loggedIn middleware 2022-01-06 18:43:42 +01:00
Viktor Patchev
5ec945e2c9 Setup tests 2022-01-06 15:08:57 +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
1d7570be5e Update model and add access token generation 2022-01-05 18:16:29 +01:00
Viktor Patchev
a8e8b15e79 Setting up the project 2022-01-04 23:25:29 +01:00