feat: implement chat messaging and Redis cache

This commit is contained in:
sinveria
2026-11-04 18:44:55 +03:00
parent e0e654dcf5
commit 527f0e8d74
8 changed files with 643 additions and 24 deletions
+4
View File
@@ -10,6 +10,8 @@ from sqlalchemy.exc import SQLAlchemyError
from app.api.auth import router as auth_router
from app.api.users import router as users_router
from app.api.chats import router as chats_router
from app.api.messages import router as messages_router
from app.core.config import settings
from app.db.session import engine
@@ -37,6 +39,8 @@ app = FastAPI(
app.include_router(users_router)
app.include_router(auth_router)
app.include_router(chats_router)
app.include_router(messages_router)
@app.middleware("http")