# 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.