Skip to content
This repository has been archived by the owner on Oct 9, 2018. It is now read-only.

Latest commit

 

History

History
11 lines (7 loc) · 485 Bytes

README.md

File metadata and controls

11 lines (7 loc) · 485 Bytes

REST-SERVER

Code the following routes using node.js http module

  1. /people?name='A' (any occurance of character anywhere in the string)
  2. /people?age>85 (a greater than or less than comparison)
  3. Bonus 🍻 task /people?name='A'&age>85 i.e support all of them in the same query
  4. Double Bonus 🍻:beers: task give 200 and 400 status codes

🎨 Please write proper variable names , Write a readable code so that others can read and understand