- Fetches hotel data in cities using openstreetmap.org data
- Stores hotel data locally
- Allows to search through simple hotel data locally
- Base code is not good, provided tests aren't good either
- We encourage to modify existing tests and write a new ones
- Improve search speed, warmup doesn't need to happen on every search (see failing test, discuss with engineers)
- New feature: Allow to search through hotels in a specific city (see failing test)
- New feature: Allow to add "Coat of arms"(Ģērbonis) image url to City and expose it in search results
- Please refactor code to your liking (e.g. too much logic in the controller)
6. Created methods that return specific City or Hotel data and a method that returns data of a Hotel collection
rails new . --api
bundle && bundle exec rails s -b 0.0.0.0
bundle && bundle exec rspec