
- Set up project structure with FastAPI and SQLite - Create database models for inventory management - Set up SQLAlchemy and Alembic for database migrations - Create initial database migrations - Implement CRUD operations for products, categories, suppliers - Implement stock movement tracking and inventory management - Add authentication and user management - Add API endpoints for all entities - Add health check endpoint - Update README with project information and usage instructions
14 lines
924 B
Python
14 lines
924 B
Python
# Re-export schemas for easy access
|
|
from app.schemas.user import User as User, UserCreate as UserCreate, UserUpdate as UserUpdate, Token as Token, TokenPayload as TokenPayload
|
|
from app.schemas.product import Product as Product, ProductCreate as ProductCreate, ProductUpdate as ProductUpdate
|
|
from app.schemas.category import Category as Category, CategoryCreate as CategoryCreate, CategoryUpdate as CategoryUpdate
|
|
from app.schemas.supplier import Supplier as Supplier, SupplierCreate as SupplierCreate, SupplierUpdate as SupplierUpdate
|
|
from app.schemas.stock_movement import StockMovement as StockMovement, StockMovementCreate as StockMovementCreate
|
|
|
|
__all__ = [
|
|
"User", "UserCreate", "UserUpdate", "Token", "TokenPayload",
|
|
"Product", "ProductCreate", "ProductUpdate",
|
|
"Category", "CategoryCreate", "CategoryUpdate",
|
|
"Supplier", "SupplierCreate", "SupplierUpdate",
|
|
"StockMovement", "StockMovementCreate"
|
|
] |