Hi @Mohit ,
First of all, you need to provide HTTP or HTTPs server, which can serve your ROOT files.
Check how it works, just using
Once your server is working, you could try to open file with normal JSROOT webpage like this is doing:
But in this case you must be aware about CORS limitations: https://github.com/root-project/jsroot/blob/master/docs/JSROOT.md#reading-root-files-from-other-servers
In principal, you could avoid CORS problem by installing JSROOT on your server and using it like:
Last your question - how to trigger reading and drawing from the server?
In this code your should request server when data is there - this is fully application-specific.
Once data can be displayed, just use small JSROOT-based code to load and displayed data as described here: https://github.com/root-project/jsroot/blob/master/docs/JSROOT.md#file-api