Skip to content
forked from cube-js/cube

📊 Cube — Open-Source Analytics API for Building Data Apps

License

Notifications You must be signed in to change notification settings

codefresh-io/cube.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codefresh release life cycle

Instructions

  1. make sure to manually bump the version in package.json of all the packages that we are using otherwise it will fail to publish it during cd pipeline

CI

CI part will take place from github actions. and not from codefresh pipeline once a PR has been created

CD

CD part will take place from codefresh pipeline and will only publish specific packages that were defined in the codefresh.yml

how to add another new package in case we need

  1. make change in the package.json of the specific required new package and rename the original name. take a look on how we did it for cubejs-bigquery-driver
  2. add another step in the codefresh.yml so that the new package will be pushed to our npm

What packages are we publishing atm

  1. server-core, @codefresh-io/cubejs-backend-server-core
  2. cbuejs-bigquery-driver, @codefresh-io/cubejs-backend-bigquery-driver
  3. cubejs-postgres-driver, @codefresh-io/cubejs-backend-postgres-driver

How to use packages

  1. We need to keep real names of packages when using the published packages, so since we are publishing with different name, other places in cube js code aren't aware of this name and this causing issues on runtime.
  2. a workaround for that will be to add the dependency in the service which consume it(For example platform-analytics) - with this syntax: "@cubejs-backend/bigquery-driver": "npm:@codefresh-io/[email protected]" 3. this will resolve in platform analytics from our fork but will resolve it correctly in cube-js code. see examples in platform-analytics package.json file

Cube — Headless Business Intelligence

Website • Getting Started • Docs • Examples • Blog • Slack • Discourse • Twitter

npm version GitHub Actions FOSSA Status

Cube is the headless business intelligence platform. It helps data engineers and application developers access data from modern data stores, organize it into consistent definitions, and deliver it to every application.

Learn more about connecting Cube to data sources and analytics & visualization tools.

Cube was designed to work with all SQL-enabled data sources, including cloud data warehouses like Snowflake or Google BigQuery, query engines like Presto or Amazon Athena, and application databases like Postgres. Cube has a built-in relational caching engine to provide sub-second latency and high concurrency for API requests.

For more details, see the introduction page in our documentation.

Why Cube?

If you are building a data application—such as a business intelligence tool or a customer-facing analytics feature—you’ll probably face the following problems:

  1. SQL code organization. Sooner or later, modeling even a dozen metrics with a dozen dimensions using pure SQL queries becomes a maintenance nightmare, which leads to building a modeling framework.
  2. Performance. Most of the time and effort in modern analytics software development is spent providing adequate time to insight. In a world where every company’s data is big data, writing just SQL queries to get insight isn’t enough anymore.
  3. Access Control. It is important to secure and govern access to data for all downstream data consuming applications.

Cube has the necessary infrastructure and features to implement efficient data modeling, access control, and performance optimizations so that every application—like embedded analytics, dashboarding and reporting tools, data notebooks, and other tools—can access consistent data via REST, SQL, and GraphQL APIs.

Getting Started 🚀

Cube Cloud

Cube Cloud is the fastest way to get started with Cube. It provides managed infrastructure as well as an instant and free access for development projects and proofs of concept.

Get started now

For a step-by-step guide on Cube Cloud, see the docs.

Docker

Alternatively, you can get started with Cube locally or self-host it with Docker.

Once Docker is installed, in a new folder for your project, run the following command:

docker run -p 4000:4000 \
  -v ${PWD}:/cube/conf \
  -e CUBEJS_DEV_MODE=true \
  cubejs/cube

Then, open http://localhost:4000 in your browser to continue setup.

For a step-by-step guide on Docker, see the docs.

Resources

Community

If you have any questions or need help - please join our Slack community of amazing developers and data engineers.

You are also welcome to join our monthly community calls where we discuss community news, Cube Dev team's plans, backlogs, use cases, etc. If you miss the call, the recordings will also be available after the meeting.

Our quarterly roadmap

We publish our open source roadmap every quarter and discuss them during our monthly community calls. You can find our roadmap under projects in our Cube.js repository.

Contributing

There are many ways you can contribute to Cube! Here are a few possibilities:

  • Star this repo and follow us on Twitter.
  • Add Cube to your stack on Stackshare.
  • Upvote issues with đź‘Ť reaction so we know what's the demand for particular issue to prioritize it within road map.
  • Create issues every time you feel something is missing or goes wrong.
  • Ask questions on Stack Overflow with cube.js tag if others can have these questions as well.
  • Provide pull requests for all open issues and especially for those with help wanted and good first issue labels.

All sort of contributions are welcome and extremely helpful 🙌 Please refer to the contribution guide for more information.

License

Cube Client is MIT licensed.

Cube Backend is Apache 2.0 licensed.

FOSSA Status

About

📊 Cube — Open-Source Analytics API for Building Data Apps

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 55.6%
  • TypeScript 30.3%
  • JavaScript 13.4%
  • Dockerfile 0.5%
  • Handlebars 0.1%
  • HTML 0.1%