-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Labels
NESTJSgood first issueGood for newcomersGood for newcomersonlydust-waveContribute to awesome OSS repos during OnlyDust's open source weekContribute to awesome OSS repos during OnlyDust's open source week
Description
📚 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 (
pageandlimit) to control pagination. - Sorting: Jobs should be sorted by date (newest first).
🛠️ Tasks
- Implement the
findAllmethod in the job service (located insrc/jobs/jobs.service.ts). - Update the job controller in
src/jobs/jobs.controller.tsto support new query parameters for pagination. - Ensure the response is structured with total count, items, and page information.
📌 Impacted Files
src/jobs/jobs.service.tssrc/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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
NESTJSgood first issueGood for newcomersGood for newcomersonlydust-waveContribute to awesome OSS repos during OnlyDust's open source weekContribute to awesome OSS repos during OnlyDust's open source week