You can use REST API in order to build analytical applications.You can build single page applications using your preferred chart and front-end frameworks and use Metriql REST API as the backend. The API supports Authorization and CORS out of the box.
