Fullstack (Ruby + React)
Rails:
-
Build Rails application which provides /search endpoint
-
This endpoint takes first query parameter engine and value can be google or bing or both
-
This endpoint takes second query parameter text which can any string passed by user
-
Based on engine parameters, it should google search or bing search and returns data
-
if query parameter is both then it should aggregate result from both search engine and return data
Frontend:
-
Create web application using react/redux which provides search aggregation functionality
-
there should be a submit button, search textbox where user can enter anything, and a dropdown with options google bing, and both
-
on submit, App should use existing google/bing search endpoint to fetch data and render
-
when selected both, it should get data from both search engine and render