
- Updated `.env` and added `.env.test` for environment variables. - Introduced API documentation in `API_DOCUMENTATION.md`. - Added authentication setup guide in `AUTHENTICATION_SETUP.md`. - Implemented user authentication with JWT and email verification. - Created new routes for user management and form submissions. - Added middleware for API key authentication and error handling. - Set up Redis for rate limiting and notifications. - Removed obsolete files and configurations related to the previous Rust implementation.
17 lines
419 B
Bash
17 lines
419 B
Bash
PORT=3000
|
|
JWT_SECRET=dognidnrfognpobibsnccofr
|
|
|
|
ADMIN_USER=youradminuser
|
|
ADMIN_PASSWORD=yoursecurepassword
|
|
|
|
# Ntfy Configuration
|
|
NTFY_TOPIC_URL=https://ntfggy.sh/your-secret-form-alerts # IMPORTANT: Change this!
|
|
NTFY_ENABLED=true # set to false to disable ntfy
|
|
|
|
RECAPTCHA_V2_SITE_KEY=your_actual_site_key
|
|
RECAPTCHA_V2_SECRET_KEY=your_actual_secret_key
|
|
|
|
RESEND_API_KEY=xxx
|
|
EMAIL_FROM_ADDRESS=xxx
|
|
|
|
recaptcha_enabled = TRUE |