Production ready

This commit is contained in:
2026-02-09 22:31:22 +01:00
parent fd6e7c44e1
commit 7814548e11
82 changed files with 3390 additions and 2026 deletions

View File

@@ -154,15 +154,34 @@ EMAIL_FROM=alerts@yourdomain.com
For development, use [Mailtrap.io](https://mailtrap.io) (free).
### Adjust Plan Limits
Edit `backend/.env`:
### Adjust Plan Limits
Edit `backend/.env`:
```env
MAX_MONITORS_FREE=5
MAX_MONITORS_PRO=50
MIN_FREQUENCY_FREE=60 # minutes
MIN_FREQUENCY_PRO=5 # minutes
```
MIN_FREQUENCY_FREE=60 # minutes
MIN_FREQUENCY_PRO=5 # minutes
```
### Landing-only Mode
For a waitlist-only launch:
```env
# backend/.env
LANDING_ONLY_MODE=true
ADMIN_PASSWORD=your-secure-admin-password
```
```env
# frontend/.env.local
NEXT_PUBLIC_LANDING_ONLY_MODE=true
```
With both flags enabled:
- only `/`, `/blog`, `/privacy`, `/admin` stay public
- all other frontend URLs redirect to `/` (HTTP 307)
- backend only permits `/api/waitlist/*`, `POST /api/tools/meta-preview`, and `/health`
## 📖 Learn More