Production guidelines for Express REST APIs, Mongoose schema design, and MongoDB indexing/transaction discipline.
Standardized production guidelines for Node.js, Express, and MongoDB via Mongoose — the default choice when a project’s data is naturally document-shaped (chat messages, notification payloads, flexible per-tenant configuration) rather than relational.
LibreChat (multi-model AI chat workspace) and Novu (notification infrastructure) both run Node.js/TypeScript + MongoDB in production, and Rocket.Chat uses the same combination for its real-time team communications platform.
Yes — AGENTS.md is the open, cross-tool standard read by Cursor, Claude Code, Windsurf, and 30+ other agents. A dedicated .mdc file is also included for Cursor's native .cursor/rules format.
Yes, since MongoDB 4.0, multi-document ACID transactions are supported on replica sets (including a single-node replica set in development). The common misconception that MongoDB can't do transactions dates to pre-4.0 versions; as of any current deployment, if an operation needs to atomically touch more than one document or collection, a session-based transaction is the correct tool, not application-level compensating logic.
Embed when the data is always fetched together with its parent and has a bounded size (a user's address, a project's settings). Reference when the data is queried independently of its parent, grows without a practical bound (comments, activity logs), or is shared across multiple parent documents. Getting this wrong in the embed direction is how documents hit the 16MB size limit.
Production guidelines for Django 5 enterprise applications, PostgreSQL connection pooling, Redis caching, and Celery async workers.
Production guidelines for FastAPI, Pydantic v2 validation, Async SQLAlchemy 2.0 (asyncpg), Alembic migrations, and PostgreSQL/Redis.
Production architecture for autonomous multi-agent systems, LangGraph cyclic state graphs, Pydantic v2 structured tool calling, and Chroma/Qdrant vector stores.
Production guidelines for Laravel 11 monoliths, Livewire reactive components, Eloquent ORM query discipline, and queued job workers.