import sys
import os

# Ensure project root is in path
sys.path.append(os.getcwd())

try:
    print("Importing app.main...")
    from app.main import app
    print("Success!")
    print(f"Title: {app.title}")
    print("Paths:")
    for route in app.routes:
        if hasattr(route, 'path'):
            print(f"  {route.path}")
except Exception as e:
    import traceback
    traceback.print_exc()
