Using the following endpoint : https://api.myjson.com/bins/tl0bp
Build an application to search and list hotels:
- User select the date range to search hotels
- Display all hotels whose availability dates lies between the search dates.
- Display the total number of nights based on selected date range. (For example if user search from Aug 12, 2017 to Aug 17, 2017 than Total Number of Nights will be 5.)
- Display hotel price based on number of nights. (Price x Number of Nights)
- User is able to sort based on hotel name and price
- User is able to filter based on hotel name and price
- You should consume the api endpoint mention and not use it as internal json file
- You should build this application in ECMAScript 6 or later, you are free to use any javascript framework.
- Implement travis or scrutinizer-ci or any other CI tool for the project, Add the build status badges to your project README file
- Use codeclimate or any alternative to estimate the code quality and add it's badge to your project README file
- Simple, clear, readable code How well structured it is? Clear separation of concerns? Can anyone just look at it and get the idea to what is being done? Does it follow any standards?
- Correctness Does the application do what it promises? Can we find bugs or trivial flaws?
- Memory efficiency How will it behave in case of large datasets?
- Testing How well tested your application is? Can you give some metrics?
If you have any questions to this challenge, please do reach out to us.
The challenge should be delivered as a link to a public git repository (github.com or bitbucket.com are preferred).
Before submitting, make sure that your program
- Code accompanies the Unit Tests
- Usage is clearly mentioned in the README file, This including setup the project, how to run it, how to run unit test, examples,etc
- Uses the endpoint directly
Implementations focusing on quality over feature completeness will be highly appreciated, don’t feel compelled to implement everything and even if you are not able to complete the challenge, please do submit it anyways.

