Project rename and restructure

This commit is contained in:
Eden Kirin
2023-03-25 13:21:07 +01:00
commit 0041b7d43e
21 changed files with 1328 additions and 0 deletions

16
main.py Normal file
View File

@ -0,0 +1,16 @@
import logging
from fastapi import FastAPI
from hopper.api.dependencies import create_game_engine
from hopper.api.views import router
logging.basicConfig(
level=logging.DEBUG,
format="%(asctime)s %(levelname)s - %(message)s",
)
logging.info("JFK Game server started.")
app = FastAPI()
app.include_router(router, tags=["Game API"])
create_game_engine()