Closed arades79 closed 4 years ago
The server currently runs and works as expected for methods tested, but the client is still using the old server design, making this change unsuitable to merge to develop until the changes for the client are also ready. Hence this is targeting another branch.
I think it actually makes more sense for chat to be attached to the user endpoints, e.g. /counselors/
Summary
Nearly all server URL rules have been changes, and their logic refactored in a way that makes the resulting API relatively RESTful. HTTP methods are better leveraged and more clear, and the endpoints have been simplified. General capabilities were also enhanced that will allow for easier extensibility in the future without requiring breaking changes. All endpoints now speak in JSON, and most web/HTML elements have been removed. These changes should result in a much more scalable server, as well as an easier starting point to develop alternate clients.
Checklist