mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 22:04:56 +00:00
Per user requirement "ensure DBAL only has one way to do things": - Removed useDBAL() and createDBALClientFactory() - use getDBALClient() only - Removed createDBALClient() from exports - getDBALClient() handles both singleton and new instances - Removed deprecated entity accessors: .pages → .pageConfigs, .components → .componentNodes, .packages → .installedPackages - Consolidated factory into single getDBALClient() function - Single clear API: getDBALClient() for client, entity-specific properties for operations Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
DBAL - Database Abstraction Layer
A language-agnostic database abstraction layer that provides a secure interface between client applications and database backends.
Structure
dbal/
├── development/ # TypeScript implementation (fast iteration)
├── production/ # C++ implementation (security & performance)
├── shared/ # Shared resources (API specs, tools, etc.)
└── docs/ # Documentation
Quick Links
- 📖 Full Documentation - Complete project documentation
- 🚀 Quick Start - Get started in 5 minutes
- 🏗️ Architecture - System architecture and design
- 🤖 Agent Guide - AI development guidelines
- 📋 Restructure Info - Recent organizational changes
- ☁️ S3 Configuration - S3 blob storage setup
Development
TypeScript (Development)
cd development
npm install
npm run build
npm test
C++ (Production)
cd production
# See production/docs/ for C++ build instructions
Shared Resources
- API Schemas:
shared/api/schema/ - Tools:
shared/tools/(codegen, build assistant) - Scripts:
shared/scripts/(build, test)
License
MIT - See LICENSE file.