- 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.
- 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.
base_url: localhost:3000
Create a new candidate.
Request body:
{
id: "string",
name: "string",
skills: ["array of skills"]
}
id
is unique.
Search candidates.
skills
a list of skills comma-separated i.e. skill1,skill2,skill3
Response object:
{
id: "string",
name: "string",
skills: ["array of skills"]
}