Enhancement: .env vars for private API Keys
Hi I was wondering if it is possible to add .env variables to a REPL that will not be displayed to the public. Is it planned? Sometimes you just want to try a small example app but it requires a private key that should be stored in a private config or .env file. Thanks.
@ash15khng When you use a web API they often require a secret key for authentication and when you deploy or share your app the key should not be visible to the client, because they can check the frontend code. Basically, I was wondering if REPL.IT allows a user to share REPLs without exposing any secret configuration. Usually, the configuration is stored as environment variables and it would be great if REPL.IT allowed the option to add environment variables that can only be seen by you. https://www.npmjs.com/package/dotenv -More information about how environment variables work, using Node.js