Examples & Tutorials
Below you can find examples and tutorials to help you get started with Cube.js.
If you have any examples or tutorials that you'd like to contribute, we encourage you to create a new topic in the Cube.js community forum.
|Web Analytics||web-analytics||Web Analytics with AWS Athena, Snowplow, Cube.js backed by Cube Store|
|Real-Time Dashboard||real-time-dashboard||Real-Time Dashboard Demo using WebSockets transport|
|React Dashboard||react-dashboard||Dynamic dashboard with React, GraphQL, and Cube.js|
|D3 Dashboard||d3-dashboard||Dashboard with Cube.js, D3, and Material UI|
|Stripe Dashboard||stripe-dashboard||Stripe Demo Dashboard built with Cube.js and Recharts|
|Event Analytics||event-analytics||Mixpanel like Event Analytics App built with Cube.js and Snowplow|
|External Rollups||external-rollups||Compare performance of direct BigQuery querying vs MySQL cached version for the same data|
|Simple Dynamic Schema Creation||async-module-simple||A simple example of using |
|Auth0||auth0||Cube.js deployment configured with Auth0 JWK/JWT integration|
|Cognito||cognito||Cube.js deployment configured with AWS Cognito JWK/JWT integration|
These tutorials are a good place to start learning Cube.js.
- Cube.js, the Open Source Dashboard Framework: Ultimate Guide - It is "Cube.js 101" style tutorial, which walks through the building a simple dashboard with React on the frontend.
- Building MongoDB Dashboard using Node.js - It is a great place to start if you are planning to use Cube.js with MongoDB. It covers the MongoDB Connector for BI and how to connect it to Cube.js.
- Node Express Analytics Dashboard with Cube.js - This tutorials shows how Cube.js could be embedded into an existing Express.js application.
- Pre-Aggregations Tutorial - Pre-Aggregations is one of the most powerful Cube.js features. By using it you can significantly speed up performance of your dashboards and reports. This tutorial is a good first step to master pre-aggregations.
Building an Open Source Mixpanel Alternative - It's a series of tutorials on building a production ready application with Cube.js.
- React Query Builder with Cube.js - It shows you how to build a dynamic query builder with Cube.js React Component.