USEPA / revampd

Basic tutorial for the EPA Clean Air Markets Division to go through the process of creating a small web app, in the problem space of AMPD, with automated tests and deployment to cloud.gov at https://revampd.app.cloud.gov
Other
2 stars 1 forks source link

Indexfix #61

Closed jthomp13 closed 4 years ago

jthomp13 commented 4 years ago

I added pagination to the UI and Server. Added some unit tests for new server functions.

maheese commented 4 years ago

@jthomp13 It would be good to give the consumer some information about the result set in the JSON response. Things like the total number of records, where they are at in the result set, how to request the next set would be good. You can do this by adding the information to the response JSON by creating an "envelope" for the result that contains some meta data and the actual result. 18F has some information here. Also right now it looks like the result is limited to 10 pages.