This project provides a configuration service that allows you to manage configurations for your applications by the "origin" request header or an environment name.
To install the project dependencies, run the following command:
npm ci
The examples
directory contains supported request examples:
/examples
edge.http
<--- service uses "origin" request header to determine the correspondent configuration (for browsers)by-key.http
<--- service uses "environment" search parameter to determine the correspondent configuration (for any other agents)
clean
: Removes thecdk.out
directory.cdk-synth-stacks
: Synthesizes the AWS CloudFormation stacks using the AWS CDK.cdk-diff-stacks
: Shows the differences between the local AWS CloudFormation stacks and the deployed stacks.deploy
: Deploys the AWS CDK stacks for the configuration service.type-check
: Runs TypeScript type checking.update-dependencies
: Updates the project dependencies using npm-check-updates.
To execute a script, run the following command:
npm run <script-name>
This project is licensed under the MIT License.