sqldb-ws/README.md

21 lines
591 B
Markdown

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