No description
  • HTML 45.3%
  • JavaScript 25.8%
  • TypeScript 21.8%
  • CSS 6.4%
  • Dockerfile 0.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-03-19 17:23:29 +07:00
backend 353253 2026-03-19 17:23:29 +07:00
docs 123 2026-03-19 16:07:35 +07:00
frontend 353253 2026-03-19 17:23:29 +07:00
infra/postgres 5324 2026-03-19 16:36:41 +07:00
.dockerignore 2 2026-03-19 16:12:22 +07:00
.editorconfig 123 2026-03-19 16:07:35 +07:00
.env.example 5324 2026-03-19 16:36:41 +07:00
.gitattributes 123 2026-03-19 16:07:35 +07:00
.gitignore 123 2026-03-19 16:07:35 +07:00
.pre-commit-config.yaml 123 2026-03-19 16:07:35 +07:00
docker-compose.yml 5324 2026-03-19 16:36:41 +07:00
index.html 353253 2026-03-19 17:23:29 +07:00
README.md 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.