Any way to integrate it with Restful APIs for @appolo/client ? #990
Unanswered
YoussefHlem
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In my current implementation, filtering, sorting, and pagination are handled via query parameters in the browser URL — for example:
GET localhost:3000/users?filters=[] instead of BASE_URL/endpoint?param
I’m looking to integrate this client-side state with a backend API (REST or GraphQL).
Is there a recommended approach to mapping these URL query parameters to API or GraphQL queries, so the backend can handle filtering, sorting, and pagination accordingly?
Also, are there best practices or libraries to help serialize and parse these parameters consistently between the client and server?
Beta Was this translation helpful? Give feedback.
All reactions