Beego
A sample Beego app for KintoHub
๐ Deploying on KintoHub
- Service Type: Backend API
- Repo: https://github.com/kintohub/kintohub
- Branch: master
- Language: Go
- Language version: 1.13
- Build Command:
go build -o main .
- Start Command:
./main
- Subfolder Path:
./docs/examples/beego
- Port: 80
๐จ Running locally
Pre-requisites: Go v1.13
- Clone the repository to a folder of choice.
$ git clone https://github.com/kintohub/kintohub
$ cd kintohub/examples/beego
- Build the app
$ go build -o main .
- To start the app
$ ./main
โก API Call
Local:
curl -X GET http://localhost/hello/world
On KintoHub:
curl -X GET http://<KintohubHostURL>/hello/world
Response
{
"message": "Hello world"
}
๐ Support
Contact us: https://www.kintohub.com/contact-us