2026-03-19 16:25:24 +07:00
5
2026-03-19 16:25:24 +07:00
123
2026-03-19 16:07:35 +07:00
5
2026-03-19 16:25:24 +07:00
123
2026-03-19 16:07:35 +07:00
2
2026-03-19 16:12:22 +07:00
123
2026-03-19 16:07:35 +07:00
3
2026-03-19 16:17:56 +07:00
123
2026-03-19 16:07:35 +07:00
123
2026-03-19 16:07:35 +07:00
123
2026-03-19 16:07:35 +07:00
3
2026-03-19 16:17:56 +07:00
123
2026-03-19 16:07:35 +07:00

PostgreSQL Control Center

Production-oriented admin panel for PostgreSQL with custom RBAC, audit logging, schema management, SQL console controls, and a separated backend/frontend architecture.

Monorepo layout

  • backend - Express + TypeScript API, RBAC, audit, PostgreSQL metadata/data access
  • frontend - Vite + Vanilla JS SPA with modular components
  • infra - Docker, PostgreSQL bootstrap SQL, container helpers
  • docs - architecture and operational notes

Quick start

docker compose up --build

Services:

  • Frontend: http://localhost:5173
  • Backend API: http://localhost:4000/api
  • PostgreSQL: localhost:5432

Seeded root user:

  • login: root
  • password: ChangeMe123!

Delivery scope

Implemented foundation:

  • Separated backend/frontend architecture
  • Session-based auth
  • RBAC with group-scoped permissions
  • Audit logging
  • Table/data/schema APIs
  • SQL console with safety guardrails
  • PostgreSQL log viewing from Docker container
  • Dockerized local production-like setup

See docs/architecture.md for details.

Description
No description provided
Readme 132 KiB
Languages
HTML 45.3%
JavaScript 25.8%
TypeScript 21.8%
CSS 6.4%
Dockerfile 0.7%