123
This commit is contained in:
42
README.md
Normal file
42
README.md
Normal file
@@ -0,0 +1,42 @@
|
||||
# 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
|
||||
|
||||
```bash
|
||||
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](C:\Users\admin\Desktop\TEst\docs\architecture.md) for details.
|
||||
Reference in New Issue
Block a user