@everymundo/config-service-client

Node.js client for our config service

Usage no npm install needed!

<script type="module">
  import everymundoConfigServiceClient from 'https://cdn.skypack.dev/@everymundo/config-service-client';
</script>

README

@everymundo/config-service-client

Node.js client for our config service

Installation

npm install @everymundo/config-service-client

Config Server URL

It must be set to the ENVIRONMENTAL VARIABLE SPRING_CLOUD_CONFIG_URI

The recommended method is to use .env files for the local environment and load them with the dotenv node module.

npm install -D dotenv
echo "SPRING_CLOUD_CONFIG_URI='http://0.0.0.0:54321/'" >> .env
node -r 'dotenv/config' server.js # assuming that is your initial file

That variable will be automatically set by our Dev/Ops team during develoment

Local Development

The recommendation is to install the @everymundo/fake-config-server locally help the development process.