This repository is a part of an assignment task.
-
/refresh
- Fetch and update the mentor data from the given API on the server
- Data is fetched and gets stored in mentor_data.json
-
/
- Returns the stored mentor list : an array of JSON objects
-
/getdata
- GET query params:
- offset : integer (Default: 10)
- limit : integer (Default: 10)
- Returns the given number of mentors from the complete list starting from offset to limit
- Query Params should be within the range of the mentor list
- GET query params:
-
Clone this repo and run the following commands
npm install
npm run start
- Local development server will start at http://localhost:3000
- NodeJs
- ExpressJs