https://github.com/aaronhmiller/planets-workspace
Demonstrate how an OpenAPI Specification -> Kong Mock -> Insomnia -> inso/decK -> Kong Gateway APIOps flow works from end to end.
https://github.com/aaronhmiller/planets-workspace
apiops declarative-pipeline oas3
Last synced: 8 months ago
JSON representation
Demonstrate how an OpenAPI Specification -> Kong Mock -> Insomnia -> inso/decK -> Kong Gateway APIOps flow works from end to end.
- Host: GitHub
- URL: https://github.com/aaronhmiller/planets-workspace
- Owner: aaronhmiller
- License: apache-2.0
- Created: 2021-04-25T03:18:54.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-08-02T18:08:44.000Z (over 4 years ago)
- Last Synced: 2025-06-11T04:46:02.047Z (8 months ago)
- Topics: apiops, declarative-pipeline, oas3
- Language: Python
- Homepage:
- Size: 137 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/aaronhmiller/planets-workspace/actions/workflows/main-tests.yaml)
# API Spec workspace and Flask App for demoing APIOps

This application contains: one flask app in `app.py`. It serves up data about planets from [NASA data](https://solarsystem.nasa.gov/moons/in-depth/) at `/planets` and `/planets/`. It's used in an end-to-end demonstration of Kong and should be imported into [Insomnia](https://insomnia.rest) for full-effect.
It's based on work by the amazing [Lorna Jane Mitchell](https://github.com/lornajane) 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.

## 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 /flask-planets:1.0 -t /flask-planets:latest .
```
Once you tag and build, upload to `hub.docker.com`:
`docker push /flask-planets`