.env.example 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # Since the ".env" file is gitignored, you can use the ".env.example" file to
  2. # build a new ".env" file when you clone the repo. Keep this file up-to-date
  3. # when you add new variables to `.env`.
  4. # This file will be committed to version control, so make sure not to have any
  5. # secrets in it. If you are cloning this repo, create a copy of this file named
  6. # ".env" and populate it with your secrets.
  7. # When adding additional environment variables, the schema in "/src/env.js"
  8. # should be updated accordingly.
  9. # Next Auth
  10. # You can generate a new secret on the command line with:
  11. # npx auth secret
  12. # https://next-auth.js.org/configuration/options#secret
  13. AUTH_SECRET=""
  14. # Auth (décision 2026-02-27 : email + password, pas d'OAuth)
  15. # Story 1.2b implémente Credentials - Discord non utilisé
  16. # Prisma
  17. # https://www.prisma.io/docs/reference/database-reference/connection-urls#env
  18. DATABASE_URL="postgresql://postgres:password@localhost:5432/aimpact-hub"
  19. # Dev only : skip email verification (1 = bypass, allows login without verify-email)
  20. # SKIP_EMAIL_VERIFY=1
  21. # Story 2.1 : Email invitations (Resend)
  22. # https://resend.com - sans clé, les emails sont loggés en dev
  23. RESEND_API_KEY=""
  24. EMAIL_FROM="onboarding@resend.dev"
  25. # Story 2.5 : Inbound email - soumission d'idées par email
  26. # Domaine Resend pour recevoir les emails (ex. cool-hedgehog.resend.app)
  27. INBOUND_EMAIL_DOMAIN="cool-hedgehog.resend.app"
  28. # Secret webhook Resend (obligatoire en prod) - configuré dans dashboard Resend
  29. RESEND_WEBHOOK_SECRET=""
  30. # URL de base pour les liens (invitations, confirmation)
  31. NEXT_PUBLIC_APP_URL="http://localhost:3000"
  32. # Story 2.6 : Pièces jointes (Vercel Blob)
  33. # Token Blob - configuré automatiquement en déployant sur Vercel (Dashboard → Storage → Blob)
  34. # En local : copier depuis Vercel → Settings → Storage
  35. BLOB_READ_WRITE_TOKEN=""
  36. # Story 2.3 : Exemples IA contextuels (OpenAI)
  37. # Optionnel - sans clé, exemples génériques pré-calculés
  38. OPENAI_API_KEY=""
  39. # Story 2.10 : Cron relance J+21 (Vercel Cron)
  40. # Générer avec : openssl rand -hex 32
  41. # Configuré automatiquement par Vercel en production
  42. CRON_SECRET=""