colorstackorg/oyster

Query to list job offers from the database 💼

Closed this issue · 7 comments

Description

Related to #4.

Acceptance Criteria

The query to list job offers from the database should support pagination (ie: limit, offset) as well as the ability to filter by status, company, employment type and/or location!

@hebronmekuria just need you to comment on this and I'll assign it!

Can I take on this issue? @ramiAbdou

Hebron is working on the v1 of the job offers feature but there might be some opportunities to work on the v2!

I'll try to put up some other feature tickets soon as well!

Sounds good!!!

Can I take this on?

Yooo I need a little affirmation. Am I on the right track for this function? Still getting used to typescript, so I was referring to a similar file called list-events to write this. I was able to model most of my code after that file, but some portions, like the one about introducing multiple filters were a little challenging. Idk if it's me, but I NEVER know how to find a page from a website on the codebase itself. I saw that we have our filters in the members directory, but I didn't know which file built that filtering.

Screenshot 2024-04-04 at 1 01 24 AM

Hey Hebron - yes you're on the right track. As you mentioned, the query that runs to fetch members from the directory is probably the closest to what you're doing though, so I would look at that one. You can find that code here!

Regarding how to map a page from the application to the code, take a look at this Remix documentation that shows you filenames in the routes folder map to actual URLs in the application!