- Add brevo.py: transactional email sending + contact list sync via Brevo API - Add token.py: stateless HMAC-signed confirmation tokens (no DB migration needed) - Update routes.py: POST /waitlist sends confirmation email, GET /waitlist/confirm verifies token - Update config.py: Brevo + confirmation settings (gracefully disabled when BREVO_API_KEY is empty) - Update .env.example with new Brevo and confirmation variables - Add httpx dependency - Add 8 new tests (token roundtrip/expiry/tamper, confirm endpoint, Brevo mock)
12 lines
258 B
Plaintext
12 lines
258 B
Plaintext
fastapi[standard]>=0.115,<1.0
|
|
uvicorn[standard]>=0.34,<1.0
|
|
gunicorn>=23,<24
|
|
sqlalchemy[asyncio]>=2.0,<3.0
|
|
asyncpg>=0.30,<1.0
|
|
alembic>=1.14,<2.0
|
|
pydantic>=2.0,<3.0
|
|
pydantic-settings>=2.0,<3.0
|
|
email-validator>=2.0,<3.0
|
|
python-dotenv>=1.0,<2.0
|
|
httpx>=0.27,<1.0
|