2022-04-20 15:25:05 +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.
|
2021-10-27 18:31:55 +02:00
|
|
|
|
2022-05-17 18:05:18 +02:00
|
|
|
> export GOPRIVATE=forge.redroom.link
|
|
|
|
before doing go mod tidy.
|
|
|
|
|
2023-04-24 16:53:10 +02:00
|
|
|
Installing bee command
|
|
|
|
----------------------
|
2023-05-09 16:53:21 +02:00
|
|
|
> go install github.com/beego/bee/v2
|
|
|
|
check $PATH in ~/.bachrc for $HOME/go/bin
|
2023-04-24 16:53:10 +02:00
|
|
|
|
2022-04-20 15:25:05 +02:00
|
|
|
Running in debug mode
|
|
|
|
---------------------
|
|
|
|
> bee run -downdoc=true -gendoc=true
|
|
|
|
|
|
|
|
Testing
|
|
|
|
-------
|
2022-05-18 17:47:42 +02:00
|
|
|
http://localhost:8080/swagger
|
|
|
|
|