
- Setup project structure with FastAPI application - Create database models with SQLAlchemy - Configure Alembic for database migrations - Implement CRUD operations for products, categories, suppliers - Add inventory transaction functionality - Implement user authentication with JWT - Add health check endpoint - Create comprehensive documentation
19 lines
851 B
Python
19 lines
851 B
Python
from app.schemas.user import User, UserCreate, UserUpdate, UserInDB
|
|
from app.schemas.token import Token, TokenPayload
|
|
from app.schemas.category import Category, CategoryCreate, CategoryUpdate
|
|
from app.schemas.supplier import Supplier, SupplierCreate, SupplierUpdate
|
|
from app.schemas.product import (
|
|
Product, ProductCreate, ProductUpdate, ProductAdjustment
|
|
)
|
|
from app.schemas.inventory_transaction import (
|
|
InventoryTransaction, InventoryTransactionCreate, InventoryTransactionUpdate
|
|
)
|
|
|
|
__all__ = [
|
|
"User", "UserCreate", "UserUpdate", "UserInDB",
|
|
"Token", "TokenPayload",
|
|
"Category", "CategoryCreate", "CategoryUpdate",
|
|
"Supplier", "SupplierCreate", "SupplierUpdate",
|
|
"Product", "ProductCreate", "ProductUpdate", "ProductAdjustment",
|
|
"InventoryTransaction", "InventoryTransactionCreate", "InventoryTransactionUpdate",
|
|
] |