
- 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
17 lines
329 B
Python
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() |