Optimize-The-Drive / optimize-the-drive

0 stars 0 forks source link

Add pagination for potential large GET requests #62

Open natedunn2230 opened 5 months ago

natedunn2230 commented 5 months ago

An example would be Trips. If a user has a Ton of trips, it might make sense to only grab some at a time.

GET /api/trips?count=X&page=Y

Might be good to overall the repo system to allow for queries to be paginated and filtered easier.