feat: added project files

This commit is contained in:
surtur 2020-07-30 23:26:57 +02:00
parent ccece4bd8b
commit b7c6f30f06
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D
4 changed files with 16 additions and 0 deletions

2
.gitignore vendored Normal file

@ -0,0 +1,2 @@
*.swp
*pycache*

0
app/__init__.py Normal file

12
app/main.py Normal file

@ -0,0 +1,12 @@
# vim:fileencoding=utf-8:ft=python:foldmethod=marker
# statuspage/app/main.py
from fastapi import FastAPI
app = FastAPI()
@app.get("/api/v1/ping")
def pong():
return {"ping": "pong!"}

2
requirements.txt Normal file

@ -0,0 +1,2 @@
fastapi
uvicorn