dotenv vs Platform Inject
dotenv loads key-value pairs from a .env file into process.env on your laptop. Production platforms inject environment variables at runtime from k8s Secrets, AWS SSM, Vault, or PaaS dashboards. The Node.js code path is the same; only the source changes.