Ultra-fast edge API architecture using Bun.serve(), Hono v4, Drizzle ORM with embedded SQLite / Turso libSQL, and Zod OpenAPI validation.
Production-ready architectural guidelines for Bun, Hono v4, SQLite, and Drizzle ORM.
bun:sqlite or distributed edge replication via Turso libSQL.bun:sqlite is a native binding built into the Bun runtime with no native compilation step, and it benchmarks faster than better-sqlite3 for most workloads. It shares the same synchronous API shape, so swapping in Turso's @libsql/client for edge replication later requires minimal code changes.
Yes — AGENTS.md is the open, cross-tool standard supported by 30+ coding agents including Cursor, Claude Code, and Windsurf. A dedicated .mdc file is also provided for Cursor's native .cursor/rules format.
Write-Ahead Logging lets readers and a single writer operate concurrently instead of locking the whole database file, which matters under Bun's high request throughput. Without WAL, concurrent requests hitting SQLite will serialize and can produce SQLITE_BUSY errors under load.
Architecture rules for Astro server-side rendering, React client islands, Tailwind CSS, and Cloudflare Pages/Workers edge deployment.
Production guidelines for FastAPI, Pydantic v2 validation, Async SQLAlchemy 2.0 (asyncpg), Alembic migrations, and PostgreSQL/Redis.
Architecture guidelines for single-binary Go services using the Echo framework, embedded SQLite, and minimal-JS server-rendered UI.
High-throughput systems architecture rules for Go (Golang), pgxpool connection management, sqlc type-safe query generation, and React web dashboards.