it is not good practice to query druid data from Front end application directly. Two of the most important factors are security and cors. If you have to take this route then one way to avoid cors it to start the proxy server on the same domain as your front end application with cors module (It will expose some new type of requests like OPTIONS), you could also enforce some sort of security measures in this proxy server for authenticating druid request.