.vscode | ||
conf | ||
controllers | ||
models | ||
routers | ||
security | ||
swagger | ||
tests | ||
.gitignore | ||
.README.md.swp | ||
config.json | ||
database.sql | ||
db_new.sql | ||
go.mod | ||
go.sum | ||
lastupdate.tmp | ||
main.go | ||
README.md |
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