Skip to content

Job Listing Retrieval and Pagination #8

Description

@Cybermaxi7

📚 Overview

Implement a feature that allows freelancers and guests to view a list of job postings with pagination. This will efficiently present job opportunities in a manageable format.

🔍 Background

The job listings need to be easily navigable by users. This feature ensures that users can filter, sort, and page through job postings smoothly, with the newest jobs displayed first.

🚀 Specifications

  • Public Route: Accessible without authentication, with optional filters.
  • Pagination: Use query parameters (page and limit) to control pagination.
  • Sorting: Jobs should be sorted by date (newest first).

🛠️ Tasks

  1. Implement the findAll method in the job service (located in src/jobs/jobs.service.ts).
  2. Update the job controller in src/jobs/jobs.controller.ts to support new query parameters for pagination.
  3. Ensure the response is structured with total count, items, and page information.

📌 Impacted Files

  • src/jobs/jobs.service.ts
  • src/jobs/jobs.controller.ts

🚧 Contribution Guidelines

  • Assign the issue before submitting a PR.
  • Complete the implementation within 2–3 days.
  • Include "Close Job Listing Retrieval and Pagination #8" in the PR description.
  • Ensure the contribution guide is read and followed.

Follow the contribution guide for detailed instructions.

🎯 Acceptance Criteria

  • Job listings are retrieved and paginated properly.
  • The API response includes total count, items list, and current page details.
  • Pagination and sorting work as expected.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    NESTJSgood first issueGood for newcomersonlydust-waveContribute to awesome OSS repos during OnlyDust's open source week

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions