File size: 332 Bytes
228add1
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
import sys
from pathlib import Path

# Add project root to python path to allow backend package imports
PROJECT_ROOT = Path(__file__).resolve().parent.parent
sys.path.insert(0, str(PROJECT_ROOT))

# Import the FastAPI application
from backend.app.main import app

# Vercel Serverless requires the application to be exposed as `app`