
- Set up project structure and FastAPI application - Create database models with SQLAlchemy - Implement authentication with JWT - Add CRUD operations for products, inventory, categories - Implement purchase order and sales functionality - Create reporting endpoints - Set up Alembic for database migrations - Add comprehensive documentation in README.md
9 lines
442 B
Python
9 lines
442 B
Python
# Import all the models, so that Base has them before being
|
|
# imported by Alembic
|
|
from app.db.base_class import Base # noqa
|
|
from app.models.user import User # noqa
|
|
from app.models.product import Product # noqa
|
|
from app.models.category import Category # noqa
|
|
from app.models.inventory import Inventory # noqa
|
|
from app.models.purchase_order import PurchaseOrder, PurchaseOrderItem # noqa
|
|
from app.models.sale import Sale, SaleItem # noqa |