Reorganize app workspaces and align Admin architecture

This commit is contained in:
Igor Martyniuk
2026-07-17 13:46:21 +00:00
parent ba691d3a0c
commit 0ba01cd111
183 changed files with 3745 additions and 4354 deletions
@@ -20,7 +20,7 @@ Check for TypeScript errors, invalid generated imports, route-loading failures,
The restart is necessary because:
- the backend discovers generated route files under `backend/modules/` during startup;
- the backend discovers generated route files under `apps/backend/modules/` during startup;
- the admin app discovers `apps/admin/src/modules/**/config/module.ts` through Vite's module registry;
- adding an entirely new directory may not trigger the same reload behavior as editing an existing file.
@@ -33,7 +33,7 @@ If generation succeeded and both services restarted, a missing menu item usually
Check the generated backend permissions:
```txt
backend/modules/<ModuleName>/config/permissions.ts
apps/backend/modules/<ModuleName>/config/permissions.ts
```
Check the frontend permission constants:
@@ -112,7 +112,7 @@ npm run build:admin
Then verify:
1. `backend/modules/<ModuleName>/` exists and contains the selected backend assets.
1. `apps/backend/modules/<ModuleName>/` exists and contains the selected backend assets.
2. `apps/admin/src/modules/<name>/` exists and contains a valid module manifest.
3. Docker services or local development processes were restarted.
4. Backend and frontend permission slugs match.