Open-source web platform for creating charts out of different data sources (databases and APIs) 📈📊
Chartbrew is an open-source web application that can connect directly to databases and APIs and use the data to create beautiful charts. It features a chart builder, editable dashboards, embedable charts, query & requests editor, and team capabilities.
If you are looking for Chartbrew as a service, it's available here.
Currently, Chartbrew supports connections to these data sources.
Chartbrew also features dashboard templates with charts already prepared:
...or you can create your custom templates and replicate them across multiple dashboards.
It is recommended you head over to the more detailed documentation to find out how to set up Chartbrew
If you already have a MySQL or PostgreSQL server running, create a database called
chartbrewand follow the prompts of the
Important Windows command line is not supported at the moment. Use something like Cygwin on Windows.
npx create-chartbrew-app chartbrew
The CLI tool creates a
chartbrew/.envfile which you can configure at any time if you want to change the database, API & client host, etc. The file contains comments explaining what each environmental variable is for. Check out which need to be set here.
Open two terminals, one for front-end and the other for back-end.
# frontend cd client/ npm run start
cd server/ npm run start-dev
Run the following commands and configure the variables:
docker pull razvanilin/chartbrew
docker run -p 3210:3210 -p 3000:3000 \ -e CB_SECRET= \ -e CB_API_HOST=0.0.0.0 \ -e CB_API_PORT=3210 \ -e CB_DB_HOST=host.docker.internal \ -e CB_DB_NAME=chartbrew \ -e CB_DB_USERNAME=root \ -e CB_DB_PASSWORD=password \ -e REACT_APP_CLIENT_HOST=http://localhost:3000 \ -e REACT_APP_API_HOST=http://localhost:3210 \ razvanilin/chartbrew
Many thanks to everybody that contributed to this open-source project 🙏