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

piotr pajak recruitment task #1

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

piotr-pajak
Copy link

@piotr-pajak piotr-pajak commented May 15, 2023

Implemented changes:

  • Created an endpoint in api/people.ts that returns a list of people.
  • The list is sorted by name in ascending order.
  • The data is paginated, with 10 people per page.
  • The endpoint accepts a "page" parameter to specify the page number to return.
  • User data is generated using faker.js library.
  • Implemented data fetching in pages/task.tsx using swr.
  • Created the pagination component in pages/task.tsx.

@piotr-pajak piotr-pajak changed the title wip: piotr pajak recruitment task piotr pajak recruitment task May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant