sqldb-ws/README.md

20 lines
545 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 get github.com/beego/bee/v2
Running in debug mode
---------------------
> bee run -downdoc=true -gendoc=true
Testing
-------
http://localhost:8080/swagger