fix: 7 Bugs behoben – Backend+Frontend lauffähig getestet

Backend-Fixes:
- vehicles-Relation in Account-Model ergänzt (500er bei Auth)
- security.py: bcrypt direkt statt passlib (bcrypt 5.x-Kompatibilität)
- auth.py Login: selectinload(User.role) gegen Lazy-Loading-500er
- equipment_group.py: LocationRef-Import via TYPE_CHECKING

Frontend-Fixes:
- api.ts: Python-Docstring durch JS-Kommentar ersetzt
- AppLayout.tsx: AddressBook→Contact (existiert nicht in lucide-react)
- package.json: axios-Dependency ergänzt

Tests bestanden:
- Health 200, Register 201, Login 200, Projects CRUD 200, alle API-Listen 200
- tsc --noEmit: sauber, vite build: erfolgreich
This commit is contained in:
Agent Zero
2026-05-31 20:49:10 +00:00
parent ddd603f177
commit e4830549ac
7 changed files with 311 additions and 24 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
"""Axios API client with base URL and auth interceptor."""
// Axios API client with base URL and auth interceptor.
import axios from 'axios';