This is the monorepo for the Nest ERP project, containing both the backend and frontend applications as git submodules.
- backend/: NestJS API (Repository)
- frontend/: React Frontend (Repository)
- docs/: Cross-cutting guides (accounting phases, RBAC, documentation index)
Start at docs/README.md for the full documentation map.
| Topic | Document |
|---|---|
| End user manual (all features) | docs/END-USER-MANUAL.md |
| Accounting & inventory (Phases 5–10) | docs/ACCOUNTING-INVENTORY-PHASES.md |
| RBAC & UI permissions | docs/RBAC-AND-PERMISSIONS.md |
| Passkeys & session management | docs/AUTH-PASSKEYS-AND-SESSIONS.md |
| Business workflows | backend/docs/WORKFLOWS-INDEX.md |
| Developer reference | backend/docs/DEVELOPER-INDEX.md |
| Notifications | NOTIFICATIONS.md |
To clone this repository and fetch all submodules:
git clone --recursive <repository-url>If you have already cloned it without --recursive, run:
git submodule update --init --recursiveTo pull the latest changes for all submodules:
git submodule update --remoteWhen working inside backend or frontend, treat them as independent repositories:
- Current directory:
cd backend(orcd frontend) - Make changes, add, and commit:
git commit -m "..." - Push to submodule remote:
git push origin main - Update parent repo: Go back to root, add the submodule folder, and commit to point the parent repo to the new submodule commit.
cd ..
git add backend
git commit -m "chore: update backend submodule reference"