major refactoring adding vendor and customer features
This commit is contained in:
21
app/api/v1/vendor/__init__.py
vendored
Normal file
21
app/api/v1/vendor/__init__.py
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
# app/api/v1/vendor/__init__.py
|
||||
"""
|
||||
Vendor API endpoints.
|
||||
"""
|
||||
|
||||
from fastapi import APIRouter
|
||||
from . import auth, dashboard, products, orders, marketplace, inventory, vendor
|
||||
|
||||
# Create vendor router
|
||||
router = APIRouter()
|
||||
|
||||
# Include all vendor sub-routers
|
||||
router.include_router(auth.router, tags=["vendor-auth"])
|
||||
router.include_router(dashboard.router, tags=["vendor-dashboard"])
|
||||
router.include_router(products.router, tags=["vendor-products"])
|
||||
router.include_router(orders.router, tags=["vendor-orders"])
|
||||
router.include_router(marketplace.router, tags=["vendor-marketplace"])
|
||||
router.include_router(inventory.router, tags=["vendor-inventory"])
|
||||
router.include_router(vendor.router, tags=["vendor-management"])
|
||||
|
||||
__all__ = ["router"]
|
||||
Reference in New Issue
Block a user