Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion backend/expressjs/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ last_updated: 2026-03-23
---

This document outlines the **best practices** for Express.js architecture. The framework is highly unopinionated, meaning strict adherence to these 30 rules is critical for maintaining the cleanliness and security of enterprise code.
# Context & Scope
# 🎯 Context & Scope
- **Primary Goal:** Provide a strict MVC architectural framework and 30 patterns for creating secure Express.js APIs.
- **Target Tooling:** AI agents (Cursor, Windsurf, Copilot) and Senior Developers.
- **Tech Stack Version:** Express 4.x / 5.x
Expand Down
2 changes: 1 addition & 1 deletion backend/graphql/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ last_updated: 2026-03-29
---

This document establishes **best practices** for building and maintaining GraphQL APIs. These constraints guarantee a scalable, highly secure, and deterministic architecture suitable for an enterprise-level, production-ready backend.
# ⚙️ Context & Scope
# 🎯 Context & Scope
- **Primary Goal:** Provide an uncompromising set of rules and architectural constraints for GraphQL API environments.
- **Target Tooling:** AI-agents (Cursor, Windsurf, Copilot, Antigravity) and Senior Developers.
- **Tech Stack Version:** Agnostic
Expand Down
2 changes: 1 addition & 1 deletion backend/microservices/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ last_updated: 2026-03-27

> [!IMPORTANT]
> This document establishes **best practices** for designing and maintaining a Microservices architecture. These constraints guarantee a scalable, highly secure, and deterministic system suitable for an enterprise-level, production-ready backend.
# ⚙️ Context & Scope
# 🎯 Context & Scope
- **Primary Goal:** Provide an uncompromising set of rules and architectural constraints for distributed system environments.
- **Target Tooling:** AI-agents (Cursor, Windsurf, Copilot, Antigravity) and System Architects.
- **Tech Stack Version:** Agnostic
Expand Down
2 changes: 1 addition & 1 deletion backend/mongodb/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ last_updated: 2026-03-28
---

This document establishes **best practices** for building and maintaining MongoDB databases. These constraints guarantee a scalable, highly secure, and deterministic architecture suitable for an enterprise-level, production-ready backend.
# ⚙️ Context & Scope
# 🎯 Context & Scope
- **Primary Goal:** Provide an uncompromising set of rules and architectural constraints for MongoDB environments.
- **Target Tooling:** AI-agents (Cursor, Windsurf, Copilot, Antigravity) and Senior Database Administrators.
- **Tech Stack Version:** MongoDB 7.0+
Expand Down
2 changes: 1 addition & 1 deletion backend/nodejs/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ last_updated: 2026-03-24

[⬅️ Back to Parent](./readme.md)

## ⚙️ Context & Scope
## 🎯 Context & Scope
This document strictly enforces the deterministic architectural boundaries and structural patterns for Node.js backend systems.

```mermaid
Expand Down
2 changes: 1 addition & 1 deletion backend/nodejs/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ last_updated: 2026-03-23
---

This document establishes **best practices** for building and maintaining Node.js applications. These constraints guarantee a scalable, highly secure, and deterministic architecture suitable for an enterprise-level, production-ready backend.
# ⚙️ Context & Scope
# 🎯 Context & Scope
- **Primary Goal:** Provide an uncompromising set of rules and architectural constraints for pure Node.js environments.
- **Target Tooling:** AI-agents (Cursor, Windsurf, Copilot, Antigravity) and Senior Developers.
- **Tech Stack Version:** Node.js 24+
Expand Down
2 changes: 1 addition & 1 deletion backend/nodejs/security-best-practices.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ last_updated: 2026-03-24

[⬅️ Back to Parent](./readme.md)

## ⚙️ Context & Scope
## 🎯 Context & Scope
This document outlines the strict security configurations and anti-patterns that must be mitigated in a production Node.js environment.

---
Expand Down
2 changes: 1 addition & 1 deletion backend/postgresql/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ last_updated: 2026-03-27
---

This document establishes **best practices** for building and maintaining PostgreSQL databases. These constraints guarantee a scalable, highly secure, and deterministic architecture suitable for an enterprise-level, production-ready backend.
# ⚙️ Context & Scope
# 🎯 Context & Scope
- **Primary Goal:** Provide an uncompromising set of rules and architectural constraints for PostgreSQL environments.
- **Target Tooling:** AI-agents (Cursor, Windsurf, Copilot, Antigravity) and Senior Database Administrators.
- **Tech Stack Version:** PostgreSQL 16+
Expand Down
22 changes: 20 additions & 2 deletions backend/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ last_updated: 2026-03-22

[🏠 Back to Home](../README.md)

# Context & Scope
# 🎯 Context & Scope
- **Primary Goal:** Outline the overarching philosophy and standards for Backend and system development inside the ecosystem.
- **Target Tooling:** Cursor, Windsurf, Antigravity.
- **Tech Stack Version:** Agnostic
Expand All @@ -23,7 +23,7 @@ last_updated: 2026-03-22
**The foundational rules and standards governing backend logic.**
</div>
---
## Architecture Principles
## 🧱 Core Principles

- Adhere to the defined [Architectural Patterns](../../architectures/readme.md) when building applications, specifically Hexagonal Architecture / Clean Architecture.
- Avoid tightly coupling business domains to framework-specific libraries.
Expand Down Expand Up @@ -74,3 +74,21 @@ app.get('/users/:id', async (req, res) => {

### 🚀 Solution
Never allow Database Object Relational Mapping (ORM) models to bleed into standard HTTP responses. Always map through a DTO.

## 2. 🗂️ Architectural Workflow

```mermaid
graph TD
A[Client Request] --> B[Controller]
B --> C[DTO Mapper]
C --> D[ORM/Database]

classDef default fill:#e1f5fe,stroke:#03a9f4,stroke-width:2px,color:#000;
classDef component fill:#e8f5e9,stroke:#4caf50,stroke-width:2px,color:#000;
classDef layout fill:#f3e5f5,stroke:#9c27b0,stroke-width:2px,color:#000;

class A layout;
class B component;
class C component;
class D component;
```
2 changes: 1 addition & 1 deletion backend/redis/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ last_updated: 2026-03-27
---

This document establishes **best practices** for building and maintaining Redis data stores. These constraints guarantee a scalable, highly secure, and deterministic architecture suitable for an enterprise-level, production-ready backend.
# ⚙️ Context & Scope
# 🎯 Context & Scope
- **Primary Goal:** Provide an uncompromising set of rules and architectural constraints for Redis environments.
- **Target Tooling:** AI-agents (Cursor, Windsurf, Copilot, Antigravity) and Senior Backend Developers.
- **Tech Stack Version:** Redis 7+
Expand Down
Loading