Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Github Jobs

Deploy Status

Netlify Status

Overview

screenshot

Challenge: Create a job search using an API. Use Front-end libraries like React or Vue. Don’t look at the existing solution. Fulfill user stories below:

  • User story: I can see a list of jobs in a city by default

  • User story: I can search for jobs with a given keyword

  • User story: I can search for jobs with a city name, zip code, or other location

  • User story: I can select one option from at least 4 pre-defined options

  • User story: I can search for a full-time job only

  • User story: I can see a list of jobs with their logo, company name, location, and posted time.

  • User story: When I select a job, I can see job descriptions and how to apply like the given design.

  • User story: When I am on the job details page, I can go back to the search page

  • User story (optional): I can see a list of jobs in the closest city from my location by default

  • User story (optional): I can see jobs on different pages, 5 items on each page

    NOTE: The used API for jobs returns up to 10 items per page

Built With

Extra features

  • Dark mode
  • Loading and Error states
  • Counter for remaining free searches

What I learned

  • Use react-router to navigate between pages
  • Handle pagination
  • Handle errors and its data as a tuple. It reduces the usage of try-catch/then-catch

How To Use

To clone and run this application, you'll need Git, Node.js and pnpm installed on your computer. From your command line:

# Clone this repository
git clone https://github.com/Hdoc1509/dev-challenges

# install all workspace dependencies
cd dev-challenges && pnpm install

# Run github-jobs in dev-mode
cd legacy/github-jobs
pnpm run dev