I still use .env files in local development.

They are simple, they work with almost every framework, and they are easy to understand:

OPENAI_API_KEY=sk-...

DATABASE_URL=postgres://...

Enter fullscreen mode