ref:Cleaned the Structure

This commit is contained in:
2025-11-07 14:20:22 +05:30
parent d7dbcff4b6
commit 1b622b6a19
42 changed files with 2164 additions and 806 deletions

21
start_api.py Normal file
View File

@@ -0,0 +1,21 @@
"""
Start the FastAPI server
Run: python start_api.py
"""
import uvicorn
if __name__ == "__main__":
print("🚀 Starting Nordic Privacy AI API Server...")
print("📍 API will be available at: http://localhost:8000")
print("📖 Interactive docs at: http://localhost:8000/docs")
print("🔗 Frontend should run at: http://localhost:3000")
print("\nPress CTRL+C to stop\n")
uvicorn.run(
"api.main:app",
host="0.0.0.0",
port=8000,
reload=True, # Auto-reload on code changes
log_level="info"
)