Open danysz opened 1 week ago
please you can try execute command
bee generate routers
please you can try execute command
bee generate routers
Hello
please you can try execute command
bee generate routers
Hello
- It helped. The routes are created and are working.
- The command is not in the help so no way to find it.
it in help, you can execute bee help generate
find it
Moved forward but errors are still here:
Created a new api app and after tried to run command:
bee generate scaffold institution -fields="name:string,type:int,city:string,address:string" -driver="postgres" -conn="postgres://postgres:postgres@127.0.0.1:5432/beego-05?sslmode=disable"
For the question "Do you want to migrate the database? [Yes|No]" if I answer Y is failing always
can you provide the failed log?
English Only. Please use English because others could join the discussion if they got similar issue!
Please answer these questions before submitting your issue. Thanks!
What did you do? Created a new API app.
What did you expect to see? To have the routes of v1/user and v1/object and the home available
What did you see instead? Only 404 responses
How to reproduce the issue? Just run the "bee api appname" cd to the directory go get bee run
What version of Go and beego are you using (
bee version
)?| \ | |/ / __ | \ / \ / \ | |/ /| /| / ___/ \| ___| v2.1.0
├── GoVersion : go1.23.3 ├── GOOS : darwin ├── GOARCH : arm64 ├── NumCPU : 12 ├── GOPATH : /Users/xxxxxxx/go ├── GOROOT : /opt/homebrew/Cellar/go/1.23.3/libexec ├── Compiler : gc └── Date : Thursday, 14 Nov 2024
go env
)? GOHOSTARCH='arm64' GOHOSTOS='darwin'