Example Config
You can define config files as JSON or YAML
Getting Started
- Create a new Node.js app
- Install Strong Config
- Create a config file
- Load configĀ in your application code
- Add
yarn start
script to your package.json
- Run your app
Going Live
- Add a production config
- Add a pre-commit git hook to avoid checking in unencrypted secrets
Add Husky via
yarn add --dev husky
, then add the following to your package.json
:
- Set up Encryption Provider
Hook up your encryption key provider of choice. Check this deep dive on how to set up an encryption provider: Encryption