Core outline
This commit is contained in:
parent
eeada83132
commit
2d3699ad00
7 changed files with 47 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ from jinja2 import Environment, FileSystemLoader, select_autoescape
|
|||
|
||||
from app.api.v1 import router as api_v1_router
|
||||
from app.config import get_settings
|
||||
from app.core.core import WebhookProcessor
|
||||
|
||||
# Inicjalizacja Jinja2
|
||||
templates_env = Environment(
|
||||
|
|
@ -15,6 +16,10 @@ app = FastAPI(title="Karl", version="0.1.0")
|
|||
|
||||
# Rejestracja routera API pod /api/v1
|
||||
app.include_router(api_v1_router, prefix="/api/v1", tags=["v1"])
|
||||
# app.add_event_handler()
|
||||
|
||||
webhook_service = WebhookProcessor()
|
||||
print(webhook_service.health)
|
||||
|
||||
|
||||
# Przykładowy endpoint HTML
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue