initial commit. blankapp
This commit is contained in:
0
fastfood/__init__.py
Normal file
0
fastfood/__init__.py
Normal file
17
fastfood/app.py
Normal file
17
fastfood/app.py
Normal file
@@ -0,0 +1,17 @@
|
||||
from fastapi import FastAPI
|
||||
|
||||
|
||||
async def generate_test_data():
|
||||
"""
|
||||
Создание БД и наполнение ее данными
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
def create_app():
|
||||
"""
|
||||
Создание экземпляра приложения FastAPI и врзврат его
|
||||
"""
|
||||
app = FastAPI()
|
||||
|
||||
return app
|
Reference in New Issue
Block a user