Refactor request handling code
The C-Service API is currently exposed as a REST interface implemented twice:
- in
service.ts
, using a bloated GraphQL+Sofa implementation - manually in
c-service-worker
These should be merged, with differences being handled by the DataSource abstraction.
Consider switching to a simple REST library (without GraphQL), or even move communication to the WebSocket using an appropriate protocol.