minhphan156/Abode

SJSU-1040, Filter Backend

Closed this issue · 0 comments

As the frontend of a hotel booking web application, I want to send a sort request (to filter) so that I can be presented with a preview of the search results that contain the element I want.

Frontend team will pass the search matrix (destination/airport/property, timespan of stay, # of rooms), and the element to filter (price, rating). Backend should return an array of 20 hotels which contain the required elements. The array includes preview info of the hotels that match the request.

Please refer to wiki for details on which data needs to be sent & its naming convention:
https://github.com/minhphan156/Abode/wiki/Backend-to-Frontend-communication