Skip to content

Commit 15246d8

Browse files
committed
chore: update .env.example with sendgrid config
- Added SENDGRID_API_KEY - Added DEFAULT_SENDER_EMAIL - Added OTP_TEMPLATE_ID - Added SENDGRID_API_URL (optional)
1 parent 94305fd commit 15246d8

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

.env.example

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,16 @@
1616
# For local development, this can be left unset as 'localhost' is allowed by default.
1717
# CORS_ALLOWED_ORIGIN="https://your-dashboard.com"
1818

19-
# REQUIRED FOR PRODUCTION: The issuer URL for JWTs.
20-
# Defaults to 'http://localhost:8080' for local development if not set.
21-
# For production, this MUST be the public URL of your API.
22-
# JWT_ISSUER="https://api.your-domain.com"
19+
# REQUIRED: Your SendGrid API key for sending emails.
20+
# SENDGRID_API_KEY="your-sendgrid-api-key"
2321

24-
# OPTIONAL: The expiry duration for JWTs in hours.
25-
# Defaults to 1 hour if not set.
26-
# JWT_EXPIRY_HOURS="24"
22+
# REQUIRED: The default email address to send emails from.
23+
# DEFAULT_SENDER_EMAIL="noreply@example.com"
24+
25+
# REQUIRED: The SendGrid template ID for the OTP email.
26+
# OTP_TEMPLATE_ID="d-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
27+
28+
# OPTIONAL: The base URL for the SendGrid API.
29+
# Defaults to "https://api.sendgrid.com" if not set.
30+
# Use "https://api.eu.sendgrid.com" for EU-based accounts.
31+
# SENDGRID_API_URL="https://api.sendgrid.com"

0 commit comments

Comments
 (0)