Skip to content

Jormodn/no-as-a-service-fastapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reasons API

Kleine FastAPI-Anwendung, die für beliebige Pfade eine zufällige Zeile aus reasons.json zurückgibt.

Installieren:

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Starten:

uvicorn main:app --host 0.0.0.0 --port 8000 --reload

Beispiel:

GET http://localhost:8000/irgend/ein/pfad

Antwort:

{
  "address": "/irgend/ein/pfad",
  "reason": "Weil es keinen Spaß macht."
}

About

No-as-a-Service in German and python 3 with FastAPI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors