Koa
A sample Koa app for KintoHub
๐ Deploying on KintoHub
- Service Type: Backend API
- Repo: https://github.com/kintohub/kintohub
- Branch: master
- Language: NodeJS
- Language version: 12
- Build Command:
npm install
- Start Command:
npm start
- Subfolder Path:
./docs/examples/koa
- Port: 80
๐จ Running locally
Pre-requisites: NodeJS v12+
- Clone the repository to a folder of choice.
$ git clone https://github.com/kintohub/kintohub
$ cd kintohub/examples/koa
- Install the dependencies
$ npm install
- To start the app
$ npm start
โก 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