{"repo":"rzfeeser/simpleflaskservice","free":true,"listed":false,"github":"https://github.com/rzfeeser/simpleflaskservice","clone":"git clone https://github.com/rzfeeser/simpleflaskservice.git","description":"A simple flask server providing several RESTful APIs for testing","language":"Python","stars":102,"topics":["api","docker","flask","kubernetes","python","python-flask"],"license":null,"category":"deployment-docker-iac","readme_excerpt":"simpleflaskservice This repo provides a simple Python-Flask Server with several RESTful APIs for learning and testing. I created it to learn about running containers within Pods in Kubernetes, but could be used to test across many orchestrated environments. Deployed on a virtual machine, or baremetal, it could be a useful tool demonstrating HTTP connectivity. The current release of this code can be deployed from the GitHub Container Repository (GHCR): https://github.com/rzfeeser/simpleflaskservice/pkgs/container/simpleflaskservice Alternatively, this code can easily be transformed into a docker image following the steps included in this repo. Steps on deploying code found in this repository can be found at the bottom of the README file. simpleflaskserver 0.1 API endpoints /env [0.1] Methods Accepted: GET HTTP/1.1 200 OK $HTTP HEADERZ { \"env\": # dump of available environmental variables, \"version\": $VERSION } /health [0.1] HTTP/1.1 200 OK $HEADER FIELDS { \"delay in seconds\": $HEALTH DELAY, \"version\": $VERSION, \"healthy\": true } /info [0.1] HTTP/1.1 200 OK $HTTP HEADERZ { \"from\": \"$REMOTE IP\", \"host\": \"\"$HOST:$PORT\"\", \"version\": \"$VERSION\" } /alta3 [0.1] HTTP/1.1 200 OK $HTTP HEADERZ { \"thanks\": \"Thank You for training with Alta3 Research!\", \"alta3\": { \"homepage\": \"https://alta3.com\", \"posters\": \"https://alta3.com/posters\", \"youtube\": \"https://www.youtube.com/user/Alta3Research/videos\" }, \"version\": \"$VERSION\" } /talkingparrot?say=[ANYTHING] [0.1] Returns a 200 containing a \"SQ","default_branch":null,"files":null,"tree":[],"storefront":"/r/rzfeeser","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rzfeeser/simpleflaskservice/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}