Django

A sample Django app for KintoHub

๐Ÿš€ Deploying on KintoHub#

  • Service Type: Backend API
  • Repo: https://github.com/kintohub-examples/django
  • Branch: master
  • Language: Python
  • Language version: 3.7
  • Build Command: pip install -r requirements.txt
  • Start Command: python manage.py runserver 0.0.0.0:80
  • Port: 80

๐Ÿ”จ Running locally#

Pre-requisites: Python v3.7+

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

โšก API Call#

Local:

curl -X GET http://localhost/hello/world

On KintoHub:

curl -X GET http://<KintohubHostURL>/hello/world

Response#

{
"message": "Hello world"
}

๐Ÿš‘ Support#

Slack: https://join.slack.com/t/kintogoons/shared_invite/zt-mu6bvg79-BmkkdMRRwohJioZggXVYeA