QHLBAGVYOB6KEAHAJMUTN236VSPFNOYAIKAPQJPF75YBBUXLU5PQC
in `server.js`, `uWS.App().ws('/*', { message: function...})` parses the incoming message into JSON, following the abstract contract `request.json` and then is essentially a huge switch statement on `what`. to be refactored. It will respond according to the abstract contract `response.json`. For each branch of the switch statement, it usually follows the pattern of "is user authenticated?", "is user authorized?", "read" or "write", "return what was read" or "return success" or return an error".