- User model (users table) with bcrypt password hashing - JWT-based login API (POST /api/auth/login, GET /api/auth/me) - Default admin account (admin/admin123) auto-created on startup - Login page with centered dark-themed login card - Route guards + Axios interceptors for token management - Login page renders without sidebar (standalone layout) - Gunicorn --preload to avoid worker DDL race condition
18 lines
553 B
Python
18 lines
553 B
Python
"""Service layer __init__."""
|
|
|
|
from app.services.agent import AgentService # noqa: F401
|
|
from app.services.auth import AuthService # noqa: F401
|
|
from app.services.task import TaskService # noqa: F401
|
|
from app.services.execution import ExecutionService # noqa: F401
|
|
from app.services.scheduler import SchedulerService # noqa: F401
|
|
from app.services.notification import NotificationService # noqa: F401
|
|
|
|
__all__ = [
|
|
"AgentService",
|
|
"AuthService",
|
|
"TaskService",
|
|
"ExecutionService",
|
|
"SchedulerService",
|
|
"NotificationService",
|
|
]
|