feat: Add JWT auth and nomenclature sync to data-entry-app
Integrate shared JWT authentication into data-entry-app: - Add Oracle pool initialization for auth service - Add AuthenticationMiddleware to protect API routes - Update all receipt endpoints to use CurrentUser from JWT - Add shared auth router (/api/auth/login, /api/auth/refresh) Add nomenclature synchronization feature: - Create SQLite models for synced suppliers, local suppliers, and cash registers - Add nomenclature router with sync triggers and CRUD endpoints - Add sync service for Oracle → SQLite nomenclature data - Update nomenclature_service to use synced SQLite data with fallbacks Create shared frontend components: - Add shared/frontend/ with LoginView.vue, auth store factory, login.css - Integrate shared login and auth into data-entry-app frontend - Add axios-based API service with token refresh interceptor 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
8989
docs/PACK_CONTAFIN.pck
Normal file
8989
docs/PACK_CONTAFIN.pck
Normal file
File diff suppressed because it is too large
Load Diff
16928
docs/PACK_FACTURARE.pck
Normal file
16928
docs/PACK_FACTURARE.pck
Normal file
File diff suppressed because it is too large
Load Diff
@@ -33,8 +33,11 @@ Aplicatie separata pentru introducere date in ERP, cu workflow de aprobare si st
|
||||
- Scalare independenta
|
||||
|
||||
**Shared Components**:
|
||||
- `shared/database/oracle_pool.py` - conexiune Oracle pentru nomenclatoare
|
||||
- `shared/auth/` - autentificare JWT comuna
|
||||
- `shared/database/oracle_pool.py` - conexiune Oracle pentru nomenclatoare si autentificare
|
||||
- `shared/auth/` - autentificare JWT comuna (middleware, routes factory, auth service)
|
||||
- `shared/frontend/components/LoginView.vue` - UI login partajat
|
||||
- `shared/frontend/stores/auth.js` - Pinia auth store factory
|
||||
- `shared/frontend/styles/login.css` - stiluri login
|
||||
|
||||
### 3. Workflow cu Staging Area
|
||||
|
||||
|
||||
Reference in New Issue
Block a user