We need proper separation between environments so the app behaves consistently from dev → qa → prod.
- Create config structure for each environment: development, staging, production
- Ensure dev/prod parity: Prod config should be the source of truth for required keys/structure. Dev config should mirror it with safe, non-prod values
- Externalize secrets: No usernames, passwords, API keys, or tokens in the repo
- Make local setup easy: Developers can copy from prod template without seeing real prod values
We need proper separation between environments so the app behaves consistently from dev → qa → prod.