/hotel-assign

Primary LanguageJavaScript

Setup

  • npm install
  • npm start
  • open browser and visit http://localhost:3000/?noOfAdult=<no_of_adult>&noOfChild=<no_of_child>&noOfInfant=<no_of_infant>
  • replace the parameters with the integer that wanted to test, eg: http://localhost:3000/?noOfAdult=9&noOfChild=10&noOfInfant=7, this will check request with 9 adults, 10 children and 7 infant