📁 Implementation Directory
backend/src/middlewares/validateRequest.ts
🎯 Goal
Ensure payload integrity before processing.
📋 Requirements
- Create generic validation middleware using Zod.\n- Apply to all state-mutating endpoints.
🔧 Technical Scope
- Node.js / Express
- TypeScript
- MongoDB / Mongoose
- Stellar Soroban RPC
🌿 Branch
git checkout -b feat/zod-validation
✅ Acceptance Criteria
📌 PR Requirements
- ⚠️ Assignment required before starting — comment on this issue to request assignment.
- PR must comply fully with the CONTRIBUTING.md.
- AI Agent submissions are DISALLOWED and will be closed without review.
- No Inline Mock Objects or Hardcoded Values usage for integration.
📁 Implementation Directory
backend/src/middlewares/validateRequest.ts🎯 Goal
Ensure payload integrity before processing.
📋 Requirements
🔧 Technical Scope
🌿 Branch
✅ Acceptance Criteria
.envcredentials to enable implementation with real-life data./api/v1/...).Closes #[issue_id]with a work done summary.📌 PR Requirements