
- Set up FastAPI application with SQLite database - Implement User and Item models with relationships - Add CRUD operations for users and items - Configure Alembic for database migrations - Include API documentation at /docs and /redoc - Add health check endpoint at /health - Enable CORS for all origins - Structure code with proper separation of concerns
4 lines
177 B
Python
4 lines
177 B
Python
from .user import User, UserCreate, UserUpdate
|
|
from .item import Item, ItemCreate, ItemUpdate
|
|
|
|
__all__ = ["User", "UserCreate", "UserUpdate", "Item", "ItemCreate", "ItemUpdate"] |