How diigoosai/svdb works
Project type and purpose
• SVDB is an enterprise-grade, full-stack storage and verification platform combining a traditional database engine with blockchain security.
• Its purpose is to provide immutable data storage, cryptographic verification, and seamless Web2-to-Web3 integration via a blockchain bridge.
File structure
Top-level directories and their roles:
• svdb/api – REST API service (Python, Flask/FastAPI)
• svdb/blockchain_bridge – Web2↔Web3 bridge (transaction formatting, HSM integration)
• svdb/storage_engine – Core storage engine with Rust library + Python bindings
• svdb/integrations – Adapter framework for cloud storage (AWS, Azure, GCP, S3)
• svdb/admin_tools – Administrative and monitoring scripts (Python CLI)
• svdb/website – Web UI (Node.js / React)
• svdb/docs, tests, Dockerfile, docker-compose.yml, CI-CD workflows, env samples
Patterns and configurations:
• Layered separation (client/API, application services, core engine, infrastructure)
• Polyglot codebase: Python for orchestration/services, Rust for high-performance core
• Adapters plug into application layer (cloud, legacy)
• CI/CD via GitHub Actions, containerized via Docker Compose
README for additional insights
• The README defines four layers: Client Access, Application, Core, Infrastructure
• Core modules: Storage Engine (Rust/Python), Verification (hash chains, Merkle Trees), Blockchain Bridge (multi-chain, HSM)
• Application services: Auth, Query Engine, Cloud Storage Adapters
• Client layer: Web UI, REST API, SDK/CLI, Legacy System
• Infrastructure: Distributed storage backends, Admin/Monitoring tools, Blockchain networks
Final advice
• Related files: e.g., show “storage_engine” with sub-components (Rust lib.rs, Python svdb_core).
• Don’t omit the adapter framework under integrations.
• Docker/Docker Compose orchestration layer connecting services.
• Be detailed: show test harnesses and admin tools as supporting subprocesses under Infrastructure.