Go to file
2023-05-09 16:53:21 +02:00
.vscode update swagger descriptions 2023-04-24 16:53:10 +02:00
conf initial import 2021-10-29 23:37:32 +02:00
controllers update swagger descriptions 2023-04-24 16:53:10 +02:00
models initial import 2021-10-29 23:37:32 +02:00
routers update swagger descriptions 2023-04-24 16:53:10 +02:00
security update swagger descriptions 2023-04-24 16:53:10 +02:00
swagger versions and cosmetik updates 2023-05-09 16:53:21 +02:00
tests initial import 2021-10-29 23:37:32 +02:00
.gitignore null... 2022-05-20 14:05:54 +02:00
.README.md.swp update swagger descriptions 2023-04-24 16:53:10 +02:00
config.json initial import 2021-10-29 23:37:32 +02:00
database.sql initial import 2021-10-29 23:37:32 +02:00
db_new.sql initial import 2021-10-29 23:37:32 +02:00
go.mod versions and cosmetik updates 2023-05-09 16:53:21 +02:00
go.sum versions and cosmetik updates 2023-05-09 16:53:21 +02:00
lastupdate.tmp null mgt and put method 2022-05-17 18:05:18 +02:00
main.go initial import 2021-10-29 23:37:32 +02:00
README.md versions and cosmetik updates 2023-05-09 16:53:21 +02:00

Generic database webservice layer

This code publishes automatically CRUD REST web services for all tables available in a SQL database.
Some special tables can be used for defining database access restrictions based on an RBAC model.

export GOPRIVATE=forge.redroom.link before doing go mod tidy.

Installing bee command

go install github.com/beego/bee/v2 check $PATH in ~/.bachrc for $HOME/go/bin

Running in debug mode

bee run -downdoc=true -gendoc=true

Testing

http://localhost:8080/swagger