Automated Action 4d6c2e1778 Implement Anime Information API with FastAPI and SQLite
- Create project structure and dependencies
- Set up SQLAlchemy models for anime, genres, and their relationships
- Implement CRUD operations for all models
- Set up FastAPI endpoints for managing anime and genres
- Add health check endpoint
- Configure Alembic for database migrations
- Add data seeding capability
- Update README with project information
2025-05-17 21:37:16 +00:00

17 lines
329 B
Python

#!/usr/bin/env python
import logging
from app.initial_data.seed import seed_data
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)
def main() -> None:
logger.info("Seeding initial data")
seed_data()
logger.info("Initial data seeded successfully")
if __name__ == "__main__":
main()