Skip to content

Central Information System

A Grafana-style dashboard platform I built that queries school and business databases live and read-only, with a visual query builder and share links.

Illustrative mockup of an education overview dashboard with attendance, enrolment and behaviour charts, using sample data.

The Central Information System (CIS) gives school and business leaders one place to see how their organization is doing. It reports on the organization’s business platforms, starting with education, where it reads from the ISSphere Education database. Finance and HR are next.

It works like Grafana. Each dashboard reads from a data source, and each panel runs its own queries, built visually or written in SQL. Nothing is copied: every number is read live from the source database, through a read-only login.

I built most of the system myself, both the Laravel API and the Next.js web app.

What I built

Live, read-only data sources

Administrators connect MySQL, SQL Server or PostgreSQL databases from the web app and test the connection before saving it. Credentials are encrypted at rest and never shown again. If a connection’s server or login changes, the password has to be entered again, so a saved password is never sent somewhere new.

A dashboard builder

Dashboards are laid out on a grid, with 16 visualizations including stat tiles, gauges, bar charts, time series, pie charts, heatmaps and tables. Dropdown variables, such as a School filter, a time range and auto-refresh apply across every panel.

Visual queries and SQL

Queries can be built visually, with joins, conditions, grouping and time buckets, and every table and column is checked against the database. For anything more advanced, a query can switch to code mode, where SQL is written in the database’s own dialect using Grafana-style time macros.

Share links

A dashboard can be shared with one link, either restricted to signed-in users or open to anyone until it expires. Shared dashboards are read-only and never reveal their queries or data source.

Platforms, users and access

Administrators add platforms, switch them on and off, and choose which executives see each one. Sign-in uses OAuth2 tokens, with each role given only the permissions it needs.

The hardest problems

  • Live queries that are safe and fast: queries have time limits and row caps, and visual queries always bind their values. Results are cached for a few seconds and shared, so when many people open a dashboard at once, the database is queried only once.
  • Different SQL dialects: time grouping, quoting and limits work differently in SQL Server, MySQL and PostgreSQL, so the system writes each query in the right dialect.
  • Moving from synced copies to live queries: earlier versions copied data on a schedule. I moved the system to live queries, which removed the sync jobs and the delay, and wrote the migration that moved existing dashboards and data sources across.

The result

New reports are new dashboards, built in the web app with no code changes or deploys. A new platform only needs its data source and dashboards added by an administrator.

The images on this page are illustrative mockups with sample data, not real screens or school information.

Role
Software Developer
Year
2026 - Present
Stack
LaravelNext.jsPHPLaravel PassportMySQLSQL ServerPostgreSQL
Illustrative mockup of the visual query builder with joins, dashboard variables and a live preview, using sample data.Illustrative mockup of a SQL query in code mode with time macros and a time series preview, using sample data.Illustrative mockup of adding a read-only SQL Server data source with a successful connection test, using sample data.Illustrative mockup of sharing a dashboard by link with an expiry date, using sample data.

All projects

Start a project. Let's build it.

Tell me what you need. I reply within a day or two with questions, a rough plan and what it would take.