
- Setup project structure and FastAPI application - Create SQLAlchemy models for users, products, carts, and orders - Implement Alembic migrations - Add CRUD operations and endpoints for all resources - Setup authentication with JWT - Add role-based access control - Update documentation
6 lines
258 B
Python
6 lines
258 B
Python
# Import models for easier access
|
|
from app.models.user import User # noqa: F401
|
|
from app.models.product import Product # noqa: F401
|
|
from app.models.order import Order, OrderItem, OrderStatus # noqa: F401
|
|
from app.models.cart import CartItem # noqa: F401
|