Too Long; Didn't Read
Cube.js is an open source framework for building analytical web applications. It is primarily used to build internal business intelligence tools or to add customer-facing analytics to an existing application. It also exposes an API for your frontend app to build dashboards and other analytics features. The live demo of the final dashboard is available here. The full source code is on Github. You most likely already have a database for your application and usually, it is just fine to use for analytics. Modern popular databases are well suited for a simple analytical workload.