from fastapi import APIRouter, Depends, HTTPException, status from sqlalchemy.orm import Session from app.core import settings, get_current_user, hash_password, verify_password from app.db import get_db from pathlib import Path router = APIRouter() # ========================= # TEST / PING # ========================= @router.get("/ping", tags=["Test"]) def ping(): return {"message": "pong"}