mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 13:54:57 +00:00
MOVED: - /seed/ → /dbal/shared/seeds/ - database/ (installed_packages.yaml, package_permissions.yaml) - config/ (bootstrap.yaml, package-repo.yaml) - packages/ (core-packages.yaml) - /prisma/schema.prisma → /dbal/development/prisma/schema.prisma UPDATED: - Root package.json: db:* scripts delegate to dbal/development - Frontend package.json: db:* scripts delegate to dbal/development - DBAL package.json: Added db:migrate and db:seed scripts - /dbal/development/src/seeds/index.ts: Updated paths to new seed location - /dbal/shared/tools/codegen/gen_prisma_schema.js: Output to new schema location - /config/package.json: Updated schema path references DELETED: - /seed/ folder (moved to DBAL) - /prisma/ folder (moved to DBAL) BENEFITS: - DBAL is now self-contained and independently deployable - Single source of truth for seeds and schema - Clear separation: database logic in DBAL, frontend in /frontends/ - All db:* commands now go through DBAL, not duplicated in frontend This restructure is MANDATORY FIRST STEP before CODEBASE_RECOVERY_PLAN execution. Architecture must be fixed before code cleanup happens. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.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.