{"id":25470570,"url":"https://github.com/aaronhmiller/planets-workspace","last_synced_at":"2025-06-25T15:07:56.743Z","repository":{"id":92246846,"uuid":"361320484","full_name":"aaronhmiller/planets-workspace","owner":"aaronhmiller","description":"Demonstrate how an OpenAPI Specification -\u003e Kong Mock -\u003e Insomnia -\u003e inso/decK -\u003e Kong Gateway APIOps flow works from end to end.","archived":false,"fork":false,"pushed_at":"2021-08-02T18:08:44.000Z","size":140,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-11T04:46:02.047Z","etag":null,"topics":["apiops","declarative-pipeline","oas3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aaronhmiller.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-25T03:18:54.000Z","updated_at":"2021-08-02T18:08:46.000Z","dependencies_parsed_at":"2023-06-08T03:15:25.040Z","dependency_job_id":null,"html_url":"https://github.com/aaronhmiller/planets-workspace","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aaronhmiller/planets-workspace","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronhmiller%2Fplanets-workspace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronhmiller%2Fplanets-workspace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronhmiller%2Fplanets-workspace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronhmiller%2Fplanets-workspace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aaronhmiller","download_url":"https://codeload.github.com/aaronhmiller/planets-workspace/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronhmiller%2Fplanets-workspace/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261897003,"owners_count":23226648,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apiops","declarative-pipeline","oas3"],"created_at":"2025-02-18T08:35:44.305Z","updated_at":"2025-06-25T15:07:56.717Z","avatar_url":"https://github.com/aaronhmiller.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CI](https://github.com/aaronhmiller/planets-workspace/actions/workflows/main-tests.yaml/badge.svg)](https://github.com/aaronhmiller/planets-workspace/actions/workflows/main-tests.yaml)\n# API Spec workspace and Flask App for demoing APIOps\n\n\u003cimg width=\"1800\" alt=\"It's OK Pluto\" src=\"https://user-images.githubusercontent.com/223486/118372778-13e60500-b568-11eb-97f7-cd6c557da3d4.png\"\u003e\n\nThis 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/\u003cposition\u003e`. It's used in an end-to-end demonstration of Kong and should be imported into [Insomnia](https://insomnia.rest) for full-effect.\n\nIt's based on work by the amazing [Lorna Jane Mitchell](https://github.com/lornajane) and its beauty is in its simplicity \u0026 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.\n\n\u003cimg width=\"1800\" alt=\"API Lifecycle\" src=\"https://user-images.githubusercontent.com/223486/116041967-bb83ad80-a622-11eb-9463-4546a79eba36.png\"\u003e\n\n\n## Running\n\n```\nFLASK_APP=app.py python -mflask run\n```\n\nIn its more portable form, run it as a Docker Container:\n```\ndocker run -d --name planets -p 5000:5000 kongaaron/flask-planets\n```\n\n## Building your own\nTo build and tag a new image (see deploy.sh), clone this repo and:\n```\ndocker build -t \u003cyour_docker_hub_account\u003e/flask-planets:1.0 -t \u003cyour_docker_hub_account\u003e/flask-planets:latest .\n```\nOnce you tag and build, upload to `hub.docker.com`:\n`docker push \u003cyour_docker_hub_account\u003e/flask-planets`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronhmiller%2Fplanets-workspace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faaronhmiller%2Fplanets-workspace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronhmiller%2Fplanets-workspace/lists"}