chore: Remove obsolete microservices directories and update all references
- Delete data-entry-app/ (1.6GB), reports-app/ (447MB), .auto-build-data/
- Saved ~1.4GB disk space (64% reduction: 2.2GB → 845MB)
Updated references across 38 files:
- .claude/rules/ paths: backend/modules/, src/modules/
- .claude/commands/validate.md: all validation paths
- docs/ (13 files): data-entry, telegram, README, CLAUDE.md
- scripts/ (3 files): backup-secrets, restore-secrets, test-docker
- security/ (2 files): git_cleanup, SECURITY_PROCEDURES
- deployment/ & shared/: updated all stale comments
All paths now reflect ultrathin monolith architecture:
- Backend: backend/modules/{reports,data_entry,telegram}/
- Frontend: src/modules/{reports,data-entry}/
- Shared: shared/{auth,database,routes}/
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -24,7 +24,7 @@ Aplicatie separata pentru introducere date in ERP, cu workflow de aprobare si st
|
||||
|
||||
### 2. Separare de Reports-App
|
||||
|
||||
**Alegere**: Aplicatie separata in `data-entry-app/`
|
||||
**Alegere**: Aplicatie separata in `backend/modules/data_entry/`
|
||||
|
||||
**Motivatie**:
|
||||
- Responsabilitati diferite: reports = read-only, data-entry = write
|
||||
|
||||
@@ -33,7 +33,7 @@ Aplicatie pentru introducere bonuri fiscale cu workflow de aprobare si extragere
|
||||
#### Backend Setup
|
||||
|
||||
```bash
|
||||
cd data-entry-app/backend
|
||||
cd backend/modules/data_entry/backend
|
||||
|
||||
# Create virtual environment
|
||||
python -m venv venv
|
||||
@@ -57,7 +57,7 @@ uvicorn app.main:app --reload --port 8003
|
||||
#### Frontend Setup
|
||||
|
||||
```bash
|
||||
cd data-entry-app/frontend
|
||||
cd backend/modules/data_entry/frontend
|
||||
|
||||
# Install dependencies
|
||||
npm install
|
||||
@@ -212,7 +212,7 @@ DRAFT → PENDING_REVIEW → APPROVED/REJECTED → (SYNCED in Oracle)
|
||||
## Project Structure
|
||||
|
||||
```
|
||||
data-entry-app/
|
||||
backend/modules/data_entry/
|
||||
├── backend/
|
||||
│ ├── app/
|
||||
│ │ ├── main.py # FastAPI entry point
|
||||
@@ -274,7 +274,7 @@ ORACLE_HOST=localhost
|
||||
ORACLE_PORT=1526
|
||||
ORACLE_SID=ROA
|
||||
|
||||
# JWT (shared with reports-app)
|
||||
# JWT (shared with Reports module)
|
||||
JWT_SECRET_KEY=your_secret_key
|
||||
JWT_ALGORITHM=HS256
|
||||
```
|
||||
|
||||
@@ -96,7 +96,7 @@ Preluate din Oracle (read-only):
|
||||
- Paginare pentru liste > 50 elemente
|
||||
|
||||
### Securitate
|
||||
- Autentificare JWT (shared cu reports-app)
|
||||
- Autentificare JWT (shared cu Reports module)
|
||||
- Validare MIME type pentru fisiere
|
||||
- Sanitizare nume fisiere
|
||||
- Acces bazat pe rol
|
||||
|
||||
Reference in New Issue
Block a user