Skip to content

Latest commit

 

History

66 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI

API Spec workspace and Flask App for demoing APIOps

It's OK Pluto

This application contains: one flask app in app.py. It serves up data about planets from NASA data at /planets and /planets/<position>. It's used in an end-to-end demonstration of Kong and should be imported into Insomnia for full-effect.

It's based on work by the amazing Lorna Jane Mitchell and its beauty is in its simplicity & clarity. It's a training ground for originating API ideas as a specification before implementation. It has been augmented with Kong and Insomnia to show how APIOps can be leveraged to make the API Lifecycle more efficient, clear, and reliable.

API Lifecycle

Running

FLASK_APP=app.py python -mflask run

In its more portable form, run it as a Docker Container:

docker run -d --name planets -p 5000:5000 kongaaron/flask-planets

Building your own

To build and tag a new image (see deploy.sh), clone this repo and:

docker build -t <your_docker_hub_account>/flask-planets:1.0 -t <your_docker_hub_account>/flask-planets:latest .

Once you tag and build, upload to hub.docker.com: docker push <your_docker_hub_account>/flask-planets

About

Demonstrate how an OpenAPI Specification -> Kong Mock -> Insomnia -> inso/decK -> Kong Gateway APIOps flow works from end to end.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages