Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Use the root scripts instead of starting each service in a separate terminal.
- `dashboard/.env.development.example`
- `network-survey/.env.development.example`

The API runner treats `RESEND_API_KEY` or `RESEND_KEY` as optional for startup. Email-sending features will fail at runtime if neither key is configured.
The API runner treats `RESEND_API_KEY` or `RESEND_KEY` as optional for startup. Email-sending features will fail at runtime if neither key is configured. Resend requests have a 30-second fetch timeout by default; set `RESEND_FETCH_TIMEOUT_MS` to a positive millisecond value to override it.

Public dashboard self-signup is controlled by `ALLOW_PUBLIC_SIGNUP`. It defaults to enabled only in local/dev/test when unset; set `ALLOW_PUBLIC_SIGNUP=false` for staging/production unless public account creation is explicitly desired. `AUTH_RATE_LIMIT_MAX` and `RESPONDENT_RATE_LIMIT_MAX` can tune API throttling for login/register and respondent-token endpoints.

Expand Down
2 changes: 2 additions & 0 deletions api/.env.local.example
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ AUTH_RATE_LIMIT_MAX=20
RESPONDENT_RATE_LIMIT_MAX=120
# Optional for email sending features.
RESEND_API_KEY=replace-me
# Optional bounded provider fetch timeout; defaults to 30000 milliseconds.
RESEND_FETCH_TIMEOUT_MS=30000
# Optional for local DB bootstrap admin created by `npm run db:setup`.
LOCAL_ADMIN_USERNAME=admin
LOCAL_ADMIN_PASSWORD=admin123
Expand Down
Loading
Loading