✦ atmos web

Configuration

Copy the safe environment template. The real file is ignored by Git and must never be committed.

cp .env.example .env
nano .env

The normal forecast works without an API key.

Met Office warnings

Configure the optional warning proxy with the endpoint and credential supplied by the Met Office Weather DataHub.

PORT=3000
MET_OFFICE_WARNINGS_URL=https://your-warnings-endpoint
MET_OFFICE_API_KEY=your-rotated-api-key
MET_OFFICE_AUTH_HEADER=X-API-Key

Restart the server after changing .env. Never put a private key in frontend code or GitHub Pages.