Example Config

You can define config files as JSON or YAML

Getting Started

  1. Create a new Node.js app
  2. Install Strong Config
  3. Create a config file
  4. Load configĀ in your application code
  5. Add yarn start script to your package.json
  6. Run your app

Going Live

  1. Add a production config
  2. 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:
  3. 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
Powered by Fruition