Files
fairhopper/main.py
2023-03-25 13:21:07 +01:00

17 lines
364 B
Python

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()