Flask

A sample Flask app for KintoHub

🚀 Deploying on KintoHub

  • Service Type: Backend API
  • Repo: https://github.com/kintohub/kintohub
  • Branch: master
  • Language: Python
  • Language version: 3.7
  • Build Command: pip install -r requirements.txt
  • Start Command: python app.py
  • Subfolder Path: ./docs/examples/flask
  • Port: 80

🔨 Running locally

Pre-requisites: Python v3.7+

  • Clone the repository to a folder of choice.
$ git clone https://github.com/kintohub/kintohub
$ cd kintohub/examples/flask
  • Build the app
$ pip install -r requirements.txt
  • To start the app
$ python app.py

⚡ 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

Discord: https://discordapp.com/invite/E2CMjKP