
- Set up project structure with FastAPI application - Implement SQLAlchemy models for users, services, projects, team members, contacts - Create API endpoints for website functionality - Implement JWT authentication system with user roles - Add file upload functionality for media - Configure CORS and health check endpoints - Add database migrations with Alembic - Create comprehensive README with setup instructions
9 lines
409 B
Python
9 lines
409 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.contact import Contact # noqa
|
|
from app.models.project import Project # noqa
|
|
from app.models.service import Service # noqa
|
|
from app.models.settings import Settings # noqa
|
|
from app.models.team_member import TeamMember # noqa
|
|
from app.models.user import User # noqa |