Some checks failed
CI/CD - Build & Test / Backend Tests (push) Has been cancelled
CI/CD - Build & Test / Frontend Tests (push) Has been cancelled
CI/CD - Build & Test / Security Scans (push) Has been cancelled
CI/CD - Build & Test / Docker Build Test (push) Has been cancelled
CI/CD - Build & Test / Terraform Validate (push) Has been cancelled
Deploy to Production / Build & Test (push) Has been cancelled
Deploy to Production / Security Scan (push) Has been cancelled
Deploy to Production / Build Docker Images (push) Has been cancelled
Deploy to Production / Deploy to Staging (push) Has been cancelled
Deploy to Production / E2E Tests (push) Has been cancelled
Deploy to Production / Deploy to Production (push) Has been cancelled
E2E Tests / Run E2E Tests (push) Has been cancelled
E2E Tests / Visual Regression Tests (push) Has been cancelled
E2E Tests / Smoke Tests (push) Has been cancelled
1.6 KiB
1.6 KiB
🚀 Fase 3: Backend Enhancement & Testing
Overview
Dopo il completamento di Fase 1 (Forgot Password) e Fase 2 (User Profile), questa fase si concentra sul backend e i test.
Obiettivi Principali
1. Backend: PUT /auth/me
- Endpoint:
PUT /api/v1/auth/me - Funzionalità: Aggiornare nome, cognome, email utente
- Validazione: Pydantic schema con
UserUpdate - Deadline: 2026-04-14
2. Backend: DELETE /auth/me
- Endpoint:
DELETE /api/v1/auth/me - Funzionalità: Disattivare account utente (soft delete)
- Dipendenze: Revocare API keys associate
- Deadline: 2026-04-15
3. Frontend Integration
- SettingsProfile.tsx: Form aggiornamento profilo
- SettingsAccount.tsx: Pulsante disattiva account
- useProfile.ts: Hook per nuove API
4. Test E2E
- Test profilo utente (update nome/cognome)
- Test cambio password
- Test disattivazione account
- Test autenticazione (login/logout)
Stack Tecnologico
- Backend: FastAPI + SQLAlchemy + PostgreSQL
- Frontend: React + TypeScript + Tailwind
- Testing: Playwright
Riferimenti
- Schema:
src/schemas/user.py - API:
src/api/v1/auth.py - Frontend:
frontend/src/pages/settings/
Team Assignment
- @backend-dev: Endpoints PUT/DELETE
- @frontend-dev: Integrazione UI
- @qa-engineer: E2E tests
Success Criteria
- PUT /auth/me funziona con validazione
- DELETE /auth/me disattiva account
- Frontend aggiornato con nuovi form
- Test E2E passano
- Build successful
Prompt generato: 2026-04-08 Status: Pronto per assegnazione team