issues
search
ITU-BDSA2024-GROUP30
/
Chirp
The great Chirp repository for Group 30!
Other
1
stars
0
forks
source link
(5.1.b.1) As DEVELOPERS we want TO IMPLEMENT PAGINATION for the PUBLIC TIMELINE to LIMIT CHEEPS PER PAGE
#34
Open
JaSNOHo
opened
1 month ago
JaSNOHo
commented
1 month ago
Acceptance Criteria:
Modify the Razor Pages for the public timeline to support pagination.
Use a query parameter page in the URL to specify which page of cheeps to return. Example:
A
GET
request to http://
/?page=2 should return the second page of cheeps.
If no page parameter is provided, return the first page by default.
Each page should contain a maximum of 32 cheeps.
Ensure that a request to http://
/?page=1 returns the same result as http://
/.
Optimize the SQL queries to retrieve only the required cheeps for the specified page, avoiding retrieval of the entire dataset.
Acceptance Criteria:
GET
request to http://