Skip to content
Merged
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
6 changes: 6 additions & 0 deletions bff/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ For more information on the BFF architecture, see:
- `BACKEND_CONNECT_TIMEOUT_SECONDS` (default: `3`)
- `BACKEND_READ_TIMEOUT_SECONDS` (default: `30`)

Generate a random `FLASK_SECRET_KEY` (see [Flask docs](https://flask.palletsprojects.com/en/stable/config/#SECRET_KEY)):
```bash
python -c 'import secrets; print(secrets.token_hex(32))'
```

Generate a random `TOKEN_COOKIE_ENCRYPTION_KEY`:
```bash
python - <<'PY'
Expand All @@ -50,6 +55,7 @@ print(base64.urlsafe_b64encode(secrets.token_bytes(32)).rstrip(b'=').decode())
PY
```


**Run Locally (Flask / PyCharm)**
1. Ensure `.env` exists in the repo root.
2. Install dependencies.
Expand Down
Loading