Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Insert pagination on users API #40

Open
tallysmartins opened this issue Nov 24, 2016 · 1 comment
Open

Insert pagination on users API #40

tallysmartins opened this issue Nov 24, 2016 · 1 comment

Comments

@tallysmartins
Copy link
Contributor

Create a pagination mechanism to fetch users per page. You should use some npm package for that.

Pass to users controller two more params that represents the page number and the page size to fetch the result in blocks of pages.

Requirements:
=> Default page if not specified: 30 users
=> Máx pageSize: 100

@tallysmartins
Copy link
Contributor Author

If the user send a biggest page number like 9999999. The system have to respond with empty block representing that it does not exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant