
- Set up project structure with FastAPI - Configure SQLAlchemy with SQLite - Implement user and item models - Set up Alembic for database migrations - Create CRUD operations for models - Implement API endpoints for users and items - Add authentication functionality - Add health check endpoint - Configure Ruff for linting - Update README with comprehensive documentation
14 lines
341 B
Python
14 lines
341 B
Python
from app.api.dependencies.db import get_db
|
|
from app.api.dependencies.users import (
|
|
get_current_active_superuser,
|
|
get_current_active_user,
|
|
get_current_user,
|
|
)
|
|
|
|
# Make dependencies available at the package level
|
|
__all__ = [
|
|
"get_db",
|
|
"get_current_user",
|
|
"get_current_active_user",
|
|
"get_current_active_superuser",
|
|
] |