- 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
11 lines
300 B
Python
11 lines
300 B
Python
import sys
|
|
import os
|
|
sys.path.append(os.path.join(os.getcwd(), 'Backend'))
|
|
from app.core.database.db_session import SessionLocal
|
|
from sqlalchemy import text
|
|
|
|
db = SessionLocal()
|
|
res = db.execute(text("SELECT * FROM crm_locations")).fetchall()
|
|
print("Locations:", len(res))
|
|
for r in res:
|
|
print(r)
|