You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2024. It is now read-only.
Instead of serving directly pre generated html documents, we want to serve the DB data as json and let the client web app build the pages.
Probably not too complicated as the handlers logic are already implemented
More like a big refactor, we need to change the response of these handlers.
We should stop returning rinja templates. E.g here, use of rinja::into_response
and send json responses instead.
the existing API seems to be documented as comments/docstrings already in each handler file.
The text was updated successfully, but these errors were encountered:
@sripwoud I think making new endpoints such as /api/v1/profile or whatever might be a better option. At some point we would have to turn of the front end ran by freedit and switch to our own front end, but at least in this way we could keep a separation between the two while the work is being done on it.
The new front end while its in alpha could be at forum.pse.dev/new or something like that.
Instead of serving directly pre generated html documents, we want to serve the DB data as json and let the client web app build the pages.
Probably not too complicated as the handlers logic are already implemented
More like a big refactor, we need to change the response of these handlers.
We should stop returning rinja templates. E.g here, use of rinja::into_response
and send json responses instead.
the existing API seems to be documented as comments/docstrings already in each handler file.
The text was updated successfully, but these errors were encountered: