AlexeyPopovUA / configuration-service

Runtime configuration service and infrastructure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

configuration-service

Description

This project provides a configuration service that allows you to manage configurations for your applications by the "origin" request header or an environment name.

Installation

To install the project dependencies, run the following command:

npm ci

Usage

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)

Scripts

  • clean: Removes the cdk.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>

License

This project is licensed under the MIT License.

About

Runtime configuration service and infrastructure

License:MIT License


Languages

Language:TypeScript 87.4%Language:JavaScript 12.6%