Ep 22 - Let’s Talk About the Environment (Variables) The Function Call
-
- Technology
In this episode, Grant and Austin talk all about environment variables. We cover the difference between private and public variables, how to keep them secure, keeping them in sync across teams, and where to store your precious precious variables. They may be keys, secrets, or just configuration strings, but hopefully this chat sheds some light on the subject for you.
Reference `dotnev` from Jest config:
// jest.config.js
module.exports = {
setupFiles: ['dotenv/config'],
};
Reference `dotenv` from NPM script:
"jest": "node -r dotenv/config ./node_modules/.bin/jest",
"knex": "node -r dotenv/config ./node_modules/knex/bin/cli.js",
Links:
dotenv
Vue-cli
Create react app
Doppler
Hashicorp Vault
GitHub Actions secrets
Netlify build variables
Shoutouts:
Austin: Strava and OMG, SVG Favicons FTW!
Grant: Also Strava
---
Support this podcast: https://podcasters.spotify.com/pod/show/thefncall/support
In this episode, Grant and Austin talk all about environment variables. We cover the difference between private and public variables, how to keep them secure, keeping them in sync across teams, and where to store your precious precious variables. They may be keys, secrets, or just configuration strings, but hopefully this chat sheds some light on the subject for you.
Reference `dotnev` from Jest config:
// jest.config.js
module.exports = {
setupFiles: ['dotenv/config'],
};
Reference `dotenv` from NPM script:
"jest": "node -r dotenv/config ./node_modules/.bin/jest",
"knex": "node -r dotenv/config ./node_modules/knex/bin/cli.js",
Links:
dotenv
Vue-cli
Create react app
Doppler
Hashicorp Vault
GitHub Actions secrets
Netlify build variables
Shoutouts:
Austin: Strava and OMG, SVG Favicons FTW!
Grant: Also Strava
---
Support this podcast: https://podcasters.spotify.com/pod/show/thefncall/support
59 min