Files
mockupAWS/docs
Luca Sacchi Ricciardi cc60ba17ea
Some checks failed
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
release: v0.5.0 - Authentication, API Keys & Advanced Features
Complete v0.5.0 implementation:

Database (@db-engineer):
- 3 migrations: users, api_keys, report_schedules tables
- Foreign keys, indexes, constraints, enums

Backend (@backend-dev):
- JWT authentication service with bcrypt (cost=12)
- Auth endpoints: /register, /login, /refresh, /me
- API Keys service with hash storage and prefix validation
- API Keys endpoints: CRUD + rotate
- Security module with JWT HS256

Frontend (@frontend-dev):
- Login/Register pages with validation
- AuthContext with localStorage persistence
- Protected routes implementation
- API Keys management UI (create, revoke, rotate)
- Header with user dropdown

DevOps (@devops-engineer):
- .env.example and .env.production.example
- docker-compose.scheduler.yml
- scripts/setup-secrets.sh
- INFRASTRUCTURE_SETUP.md

QA (@qa-engineer):
- 85 E2E tests: auth.spec.ts, apikeys.spec.ts, scenarios.spec.ts, regression-v050.spec.ts
- auth-helpers.ts with 20+ utility functions
- Test plans and documentation

Architecture (@spec-architect):
- SECURITY.md with best practices
- SECURITY-CHECKLIST.md pre-deployment
- Updated architecture.md with auth flows
- Updated README.md with v0.5.0 features

Documentation:
- Updated todo.md with v0.5.0 status
- Added docs/README.md index
- Complete setup instructions

Dependencies added:
- bcrypt, python-jose, passlib, email-validator

Tested: JWT auth flow, API keys CRUD, protected routes, 85 E2E tests ready

Closes: v0.5.0 milestone
2026-04-07 19:22:47 +02:00
..

mockupAWS Documentation

Versione: v0.5.0
Ultimo aggiornamento: 2026-04-07


📚 Indice Documentazione

Getting Started

Architecture & Design

Security

Infrastructure

Development

API Documentation

Prompts & Planning


🎯 Quick Reference

Setup Development

# 1. Clone
git clone <repository-url>
cd mockupAWS

# 2. Setup secrets
./scripts/setup-secrets.sh

# 3. Start database
docker-compose up -d postgres

# 4. Run migrations
uv run alembic upgrade head

# 5. Start backend
uv run uvicorn src.main:app --reload

# 6. Start frontend (altro terminale)
cd frontend && npm run dev

Testing

# Backend tests
cd /home/google/Sources/LucaSacchiNet/mockupAWS
pytest

# Frontend E2E tests
cd frontend
npm run test:e2e

# Specific test suites
npm run test:e2e -- auth.spec.ts
npm run test:e2e -- apikeys.spec.ts

API Endpoints

  • Health: GET /health
  • Auth: POST /api/v1/auth/login, POST /api/v1/auth/register
  • API Keys: GET /api/v1/api-keys, POST /api/v1/api-keys
  • Scenarios: GET /api/v1/scenarios
  • Reports: GET /api/v1/reports, POST /api/v1/scenarios/{id}/reports

📞 Supporto


Per informazioni dettagliate su ogni componente, consultare i file linkati sopra.