Skip to content

Feature: Pagination for Station List #9

@theodanel

Description

@theodanel

Summary

Create a paginated endpoint to list Vélib' stations.

Details

Allow users to browse stations by page, based on the data stored in the DB

Subtasks

  • Update controller to read page and size from the URL.
  • Implement the service logic to fetch paginated data from the DB.
  • Create a response DTO to combine the station list and all pagination counts.
  • Write a test to check if pagination numbers are correct.

Additional Notes / References

This is a backend-only feature.

Pre-Work Checklist

  • No existing issue covers this work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions