Files
CoaxysPanel/docs/backend-integration.md
arsam 8ea08f92da Import documentation: docs/backend-integration.md
Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality.
2026-09-18 23:11:37 +03:30

581 B

Backend Integration

The frontend is intentionally backend-ready but backend-free.

Integration steps:

  1. Implement an HTTP client in src/api/client.ts.
  2. Replace mock methods in src/api/services/panel-service.ts with real service calls.
  3. Preserve the response envelope and DTOs in src/api/contracts.
  4. Map backend validation errors into ApiError.fields.
  5. Add WebSocket/SSE adapters for jobs, terminal state, notifications, metrics, and logs.
  6. Keep destructive actions behind typed confirmation, reason capture, two-factor confirmation, and audit-preview flows.