
- Create project structure with app organization - Set up FastAPI application with CORS and health endpoint - Implement database models with SQLAlchemy (User, Post, Comment) - Set up Alembic for database migrations - Implement authentication with JWT tokens - Create CRUD operations for all models - Implement REST API endpoints for users, posts, and comments - Add comprehensive documentation in README.md
6 lines
253 B
Python
6 lines
253 B
Python
# Import all the models, so that Base has them before being
|
|
# imported by Alembic
|
|
from app.db.base_class import Base # noqa
|
|
from app.models.user import User # noqa
|
|
from app.models.post import Post # noqa
|
|
from app.models.comment import Comment # noqa |