
- Set up project structure and FastAPI application - Create database models for users, products, and inventory - Configure SQLAlchemy and Alembic for database management - Implement JWT authentication - Create API endpoints for user, product, and inventory management - Add admin-only routes and authorization middleware - Add health check endpoint - Update README with documentation - Lint and fix code issues
19 lines
490 B
Python
19 lines
490 B
Python
# Import all models here for Alembic to detect
|
|
# These imports are needed for Alembic to detect the models
|
|
# flake8: noqa
|
|
|
|
from app.models.inventory import InventoryItem, InventoryStatus, InventoryTransaction
|
|
from app.models.product import Category, Product
|
|
from app.models.user import User, UserRole
|
|
|
|
# Make all models available in this module
|
|
__all__ = [
|
|
"InventoryItem",
|
|
"InventoryStatus",
|
|
"InventoryTransaction",
|
|
"Category",
|
|
"Product",
|
|
"User",
|
|
"UserRole"
|
|
]
|