Skip to content

AmrHalim/seek-asia-interview-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Interview Task for SEEK Asia

  • This repo contains 4 tasks.
  • The description of tasks 1, 2 and 4 are mentioned on the top of the index.js file.
  • Task 3 is an express.js server for creating and searching candidates based on their skills. More about the exposed endpoints mentioned below.

To run the application you need to do the following:

  • npm install
  • npm run test
  • For task-3 run the application using node task-3/index.js and test the endpoints mentioned below using Postman.

Endpoints

base_url: localhost:3000

POST base_url/candidates

Create a new candidate.

Request body:

{
  id: "string",
  name: "string",
  skills: ["array of skills"]
}

id is unique.

GET base_url/candidates/search?skills=skills,list

Search candidates.

skills a list of skills comma-separated i.e. skill1,skill2,skill3

Response object:

{
  id: "string",
  name: "string",
  skills: ["array of skills"]
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published