DataBI: Self-Service Business Intelligence
A self-hosted BI platform in the spirit of Power BI and Superset: connect a database, describe the data once as a dataset, then build interactive dashboards by dragging charts onto a canvas, and share or embed them.
I built the whole product: the ASP.NET Core (.NET 10) semantic query engine, the Angular dashboard designer, authentication with permission-based roles, embedding with row-level security, and the GitOps deployment to the Kubernetes cluster in my homelab. DataBI is the .NET rewrite of my earlier Python app, HomeBI: it keeps the same HTTP contract and replaced it on the same domain.
- Site
- bi.labjom.com
[email protected]- Password
Password1!
A shared, read-only viewer account: explore published dashboards, filter, drill down, cross-filter and export. Designing dashboards, SQL Lab and connections need an editor or admin role.
Live Embeds
Everything below is served live by bi.labjom.com through signed, expiring links. Nobody needs an account to view them: each token only opens what it was made for and the datasets behind it, is bound to its workspace, and any row-level filters in it are enforced by the server. DataBI embeds come in 5 shapes; pick one:
Key Features
1. Drag-and-Drop Dashboard Designer
Visuals and dataset fields are dragged from a palette onto a 12-column canvas. Charts land exactly where they are dropped, can be moved and resized freely, and the layout you design is the layout viewers get. Dropping a field on empty canvas builds a sensible chart from it; dropping it on a chart adds it to that chart. An inspector edits the selected chart in place, with undo/redo and keyboard shortcuts.
2. 50+ Chart Types and Real Interactivity
From columns, lines, pies and KPI cards to waterfall, Pareto, bullet, slope, candlestick, Gantt, calendar heatmaps, stream graphs, sankey, chord, network, box and violin plots, tables, pivots and region-focused maps (shaded areas, bubbles or latitude/longitude points). Charts drill down through hierarchies, cross-filter each other on click, and respond to dashboard filters and date presets.
3. Formatting That Tells the Story
Conditional colours (green on target, red below, with status icons) for KPI tiles, gauges, bars and table cells; tile styles with fills, gradients, accent strips and icons; data bars and totals in tables; gradient fills and highest/lowest markers on charts; text and section tiles. Whole dashboards export as PNG, PDF or CSV.
4. Connectors and a Semantic Layer
PostgreSQL, MySQL, SQL Server, Oracle, Snowflake, SQLite, DuckDB, ODBC and CSV/Excel uploads. Datasets give columns labels, roles (dimension or measure), formats and drill hierarchies, and the query engine turns chart definitions into aggregated SQL that runs on the source, with a result cache.
5. Publishing and Secure Embedding
Dashboards start as drafts that only editors see. Publishing makes them visible to viewers and embeddable; unpublishing switches every embed link off at once. A link can open a whole dashboard, a single chart, a portal of several dashboards with a picker, or a presentation. Links are signed and expiring, bound to their workspace, and can carry row-level security filters the embedding page can't remove.
6. Workspaces, Users, Permissions and Audit
Each workspace (one per team, client or project) keeps its own connections, datasets, dashboards, members and audit log, fully isolated from the others; people can belong to several with a different role in each, and members can be imported in bulk from Excel. Roles are named sets of fine-grained permissions (built-in viewer, editor and admin, plus custom roles), people can be granted extra permissions per workspace, and every API endpoint declares the permission it needs. People sign in with a username or email. Sessions use short-lived access tokens with rotating httpOnly refresh cookies; passwords are scrypt-hashed, accounts lock after repeated failures, and an audit log records sign-ins, changes and publishing.
7. SQL Lab
A read-only SQL editor with history and CSV export, where a query can be saved as a dataset.
8. Presentations
Slide decks of whole dashboards, single charts and title slides with speaker notes, played full screen with the keyboard or auto-advancing on a wall screen, and embeddable like dashboards.
Architecture
- API: ASP.NET Core on .NET 10 with Entity Framework Core, a SQL builder that speaks each source's dialect, and ADO.NET drivers for every connector, running in its own container.
- Web: an Angular 21 single-page application (ECharts, angular-gridster2) served by Nginx, which also proxies
/apito the API container. - Data: users, workspaces, datasets, dashboards and the audit log in PostgreSQL (the shared PostgreSQL stack on the server); uploaded files and showcase data in a Docker volume; an optional Redis query cache.
- Hosting: Docker Compose on my Debian homelab server, published at bi.labjom.com through a Cloudflare Tunnel.
CI/CD Pipeline
DataBI runs on the k3s cluster in my Kubernetes GitOps lab. A push to Gitea starts a Gitea Actions workflow: it builds and tests the .NET API (xUnit), builds the API and web images, scans them with Trivy and stops on any fixable critical vulnerability, then pushes them to Gitea's registry. The workflow commits the new image tags to the Kubernetes manifests, and Argo CD rolls them out and waits for the health checks. The PostgreSQL database stays on the Debian app VM outside the cluster, secrets live in a Kubernetes Secret rather than in Git, and Cloudflare Tunnel serves bi.labjom.com with no open ports.
Technologies Used
- C#, .NET 10 and ASP.NET Core
- Entity Framework Core and ADO.NET drivers (Npgsql, SqlClient, MySqlConnector, Oracle, DuckDB, ODBC)
- xUnit
- Angular 21 with signals
- Apache ECharts
- PostgreSQL, SQLite and Redis
- JWT, scrypt and httpOnly refresh cookies
- Docker images and Nginx
- Kubernetes (k3s)
- Gitea Actions, Trivy and Argo CD (GitOps)
- Cloudflare Tunnel
What This Project Demonstrates
DataBI is a data product end to end: a semantic layer and query engine on the back end, and a designer on the front end that non-technical users can drive with drag and drop.
It shows security designed in rather than added later: role checks on every endpoint, a publish step that gates what is shared, and embeds that expose exactly one dashboard with server-enforced row-level filters.
It also shows a full platform migration: the API was rewritten from Python to .NET with the same HTTP contract, so the Angular app and existing clients carried over, and it replaced the original on the same domain.
And the delivery side: a branch-and-merge-request workflow, a pipeline that builds, tests and deploys only from main, and a production service running on my own infrastructure.

