Use FastAPI instead of Flask

This commit is contained in:
2021-10-28 15:31:30 +02:00
parent f3fb957717
commit c5fdfa3215
2 changed files with 93 additions and 77 deletions

21
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,21 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python: FastAPI",
"type": "python",
"request": "launch",
"module": "uvicorn",
"args": [
"main:app"
],
"env": {
"DOMAIN": "http://127.0.0.1:8000/"
},
"jinja": true
}
]
}