Skip to main content

Week 3

Horizontal Pagination implementation in browse page

(July 3rd, 2022)

Implementation of the horizontal page navigator in the browse page. The pagination module fetches the data from the API on page basis thus reducing the response time of the API in the browse page. This was implemented earlier in the allRecentJobs page.

The Browse page with the new Pagination module:
pagination

/jobs API

/jobs endpoint now sends only the jobs created by the logged in user. This API can be called by both the Admin and other users.

Fossy user Page:
jobs_res

Another user's Page:
jobs_res

Mentors asked to create an flag to get all the jobs irrespective of the user which will only be used by the Admin user.

Conclusion and Further Plans

  • Implementing the neccesary flags proposed by the mentors in the API.
  • Create any missing API endpoint related to the Jobs module.