
- Set up FastAPI project structure with best practices - Implemented SQLAlchemy models with SQLite database - Added Alembic for database migrations - Created CRUD API endpoints for items - Added health check endpoint - Updated documentation generated with BackendIM... (backend.im)
11 lines
235 B
Python
11 lines
235 B
Python
from app.core.config import settings
|
|
import uvicorn
|
|
from app.core.app import app
|
|
|
|
if __name__ == "__main__":
|
|
uvicorn.run(
|
|
"app.core.app:app",
|
|
host="0.0.0.0",
|
|
port=8000,
|
|
reload=settings.DEBUG
|
|
) |