docs: sync from backend cab0719 - align request budget validation
This commit is contained in:
@@ -10,7 +10,7 @@ created: 2026-05-23
|
||||
Complete technical & operational documentation for the **Amn** (a.k.a. "nick app") crypto-escrow marketplace platform. This vault is exhaustive enough to **re-implement the system from scratch** with no access to the source code.
|
||||
|
||||
> [!info]
|
||||
> **Repos:** `git@git.manko.yoga:222/nick/{backend,frontend}.git` · **Branch:** `development` · **Vault generated:** 2026-05-23
|
||||
> **Repos:** `git@git.manko.yoga:222/nick/{backend,frontend}.git` · **Active backend integration branch:** `integrate-main-into-development` · **Current backend baseline:** `2.6.79` at `3a50dc4` · **Vault generated:** 2026-05-23
|
||||
|
||||
---
|
||||
|
||||
@@ -44,7 +44,8 @@ Project context, the cast of characters, and shared vocabulary.
|
||||
How the system is composed at every layer.
|
||||
|
||||
- [[System Architecture]] — end-to-end topology + request lifecycle
|
||||
- [[Backend Architecture]] — Express 5 + Mongoose + Socket.IO module map
|
||||
- [[Backend Architecture]] — Express 5 + Mongoose + Socket.IO module map, plus current Postgres migration layer status
|
||||
- [[Database Strategy - Mongo vs Postgres Assessment]] — current Mongo primary posture and Postgres cutover assessment
|
||||
- [[Frontend Architecture]] — Next.js 16 App Router + provider tree
|
||||
- [[Request Network Integration Constraints]] — current RN integration constraints and rollout gates
|
||||
- [[PRD - Decentralized Custody and Smart-Contract Escrow Roadmap]] — custody decentralization and smart-contract decision roadmap
|
||||
@@ -57,6 +58,7 @@ How the system is composed at every layer.
|
||||
Per-entity Mongoose schemas — fields, relationships, state machines.
|
||||
|
||||
- [[Data Model Overview]] — ER-style map + reading order
|
||||
- [[Postgres Runtime Cutover Status]] — what is actually using Postgres vs still Mongo-backed on `integrate-main-into-development`
|
||||
- Core entities: [[User]] · [[PurchaseRequest]] · [[SellerOffer]] · [[Payment]] · [[Chat]] · [[Notification]] · [[Dispute]]
|
||||
- Marketplace extras: [[RequestTemplate]] · [[ShopSettings]] · [[Category]] · [[Review]]
|
||||
- User extras: [[Address]] · [[TempVerification]]
|
||||
@@ -236,4 +238,3 @@ The vault is the project's internal documentation. Treat all credentials, addres
|
||||
Welcome to the codebase. If anything here is unclear, the source is in the [[Backend Architecture]] / [[Frontend Architecture]] cited files — fix the docs as you go.
|
||||
|
||||
<!-- git sync test: 2026-05-23 -->
|
||||
|
||||
|
||||
Reference in New Issue
Block a user