Services in src/services/ are thin HTTP wrappers. Each file maps to one backend route group.

Service modules

Note: recurring service filename uses the typo rucurringOrder — imports must match.

Usage pattern

All functions return Axios promises (res.status, res.data).

Response shape

Backend typically returns:
Exact keys vary by endpoint — see individual service docs and Frontend–backend map.

Authentication

No service sets headers manually. The axios interceptor attaches Bearer token from localStorage.serviceToken.
  • API layer
  • Individual service pages under Services in the Frontend tab