| 1 | DATABASE_URL= |
| 2 | JWT_SECRET= |
| 3 | # This api key is used to fetch flights between 2 airports for a given date |
| 4 | AVIATION_STACK_API_KEY= |
| 5 | |
| 6 | # Subscribe to "AeroDataBox" api on rapid api and pass its api key here |
| 7 | RAPID_API_KEY= |
| 8 | # FlightAware API Key. |
| 9 | FLIGHTAWARE_API_KEY= |
| 10 | |
| 11 | # ---- Flight alerts (makeshift push notifications) ---- |
| 12 | # OneSignal app credentials for sending push notifications. |
| 13 | ONESIGNAL_APP_ID= |
| 14 | ONESIGNAL_REST_API_KEY= |
| 15 | # Base URL of the standalone alerts worker (the bun app in /alerts), no trailing |
| 16 | # slash. The API POSTs {workerUrl}/trigger when a new alert is queued. |
| 17 | ALERTS_WORKER_URL=http://localhost:4500 |
| 18 | # Shared secret used in BOTH directions: guards the worker's /trigger endpoint |
| 19 | # and the API's POST /v1/alerts/internal/refresh (sent as x-alerts-secret). |
| 20 | ALERTS_SHARED_SECRET= |
| 21 | |