https://github.com/pythoninthegrass/qaas
Quotes as a Service (qaas) returns a random quote from a list of quotes.
https://github.com/pythoninthegrass/qaas
Last synced: 7 months ago
JSON representation
Quotes as a Service (qaas) returns a random quote from a list of quotes.
- Host: GitHub
- URL: https://github.com/pythoninthegrass/qaas
- Owner: pythoninthegrass
- License: unlicense
- Created: 2024-01-21T00:25:06.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-07T22:48:13.000Z (12 months ago)
- Last Synced: 2025-06-09T05:03:48.437Z (7 months ago)
- Language: Python
- Homepage:
- Size: 797 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# qaas
Quotes as a Service (qaas) returns a random quote from a list of quotes.
## Minimum Requirements
* [Python 3.11.6](https://www.python.org/downloads/release/python-3116/)
* [Pip](https://pip.pypa.io/en/stable/installing/)
## Recommended Requirements
* [Poetry](https://python-poetry.org/docs/#installation)
* [Docker](https://docs.docker.com/get-docker/)
* [asdf](https://asdf-vm.com/#/core-manage-asdf-vm)
```bash
# install python
asdf plugin add python
asdf install python 3.11.6
# install poetry
asdf plugin add poetry
asdf install poetry 1.7.1
```
## Quickstart
* Python
```bash
# create virtual environment
python -m venv .venv
source .venv/bin/activate
# install requirements
python -m pip install -r requirements.txt
# run the app
python app.py
```
* Python + Poetry
```bash
# install requirements
poetry install
# run the app
poetry run python app.py
```
* Docker
```bash
# build the image
docker build -t qaas .
# run the image
docker run -p 8000:8000 qaas # stop via ctrl+c
# run the image in detached mode
docker run -d -p 8000:8000 qaas
# stop the container
docker stop
```
## TODO
* [Issues](https://github.com/pythoninthegrass/qaas/issues)
## Further Reading
[Deploy a Flask App | Render Docs](https://render.com/docs/deploy-flask)