- Backend: FastAPI app with all models, services, schemas, routes - Admin Panel: Next.js dashboard with all modules (CRM, POS, repairs, warranties, billing, notifications, etc.) - Ecommerce: storefront (submodule) + product catalog - AI Agents: .agents/ skill library for Antigravity IDE - Docs: architecture, billing, notification gateway markdown - Submodules: Backend/OpenWA, Ecommerce/File 2/storefront
9 lines
390 B
Python
9 lines
390 B
Python
from sqlalchemy import create_engine
|
|
from sqlalchemy.sql import text
|
|
from app.core.config.Config import settings
|
|
|
|
engine = create_engine(settings.COMMERCE_DATABASE_URL)
|
|
with engine.connect() as conn:
|
|
res = conn.execute(text("SELECT entity_id, channel, recipient, status, subject FROM notifications ORDER BY created_at DESC LIMIT 10;")).fetchall()
|
|
for row in res:
|
|
print(row)
|