
- Set up FastAPI project structure with SQLite and SQLAlchemy - Create models for users, books, authors, categories, and orders - Implement JWT authentication and authorization - Add CRUD endpoints for all resources - Set up Alembic for database migrations - Add health check endpoint - Add proper error handling and validation - Create comprehensive documentation
6 lines
237 B
Python
6 lines
237 B
Python
from app.models.user import User # noqa
|
|
from app.models.book import Book, Author, Category # noqa
|
|
from app.models.order import Order, OrderItem, OrderStatus # noqa
|
|
|
|
# Import all models here so that they are registered with SQLAlchemy
|