Automated Action f1c2b73ade Implement online bookstore backend API
- 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
2025-05-20 12:04:27 +00:00

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