https://github.com/inadarei/fun-apis
A collection of fun and useful APIs implemented in Python and containerized for Kubernetes
https://github.com/inadarei/fun-apis
Last synced: 7 months ago
JSON representation
A collection of fun and useful APIs implemented in Python and containerized for Kubernetes
- Host: GitHub
- URL: https://github.com/inadarei/fun-apis
- Owner: inadarei
- License: mit
- Created: 2022-10-27T17:56:41.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-27T17:56:43.000Z (almost 3 years ago)
- Last Synced: 2025-02-03T14:29:22.481Z (8 months ago)
- Language: Python
- Size: 259 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ms-python-flask-template
A template project for a flask-based Python microservice## Prerequisites:
1. Working Docker environment
2. GNU Make## Supported Commands:
1. `make` - build, start, and watch logs
2. `make start`
3. `make stop`
4. `make clean` - clean rebuild (for extreme debugging)
5. `make shell` - log into the running container of the microservice, for debugging
6. `make redis` - launch redis cli for debugging
7. `make logs` - tail combined logs from the service and the db
8. `make logs-app`
9. `make logs-db`
10. `make lint` - pylint code
11. `make test` - run unit and functional tests
12. `make add package="pytest"` - adds a module (in this case: "pytest") inside
a running container and saves it to the requirements.txt.