• Name: PostgreSQL
  • Category: Database

Configuration

Configu needs to be authorized to access your PostgreSQL database. Configu utilizes TypeORM under the hood to establish a connection with the database using data source options you need to supply.

Usage

.configu store declaration

stores:
  my-store:
    type: postgresql
    configuration:
      host: localhost
      username: test
      password: test
      database: test

CLI examples

Upsert command

configu upsert --store "my-store" --set "test" --schema "./start.cfgu.json" \
    -c "GREETING=hey" \
    -c "SUBJECT=configu node.js sdk"

Eval and export commands

configu eval --store "my-store" --set "test" --schema "./start.cfgu.json" \
 | configu export

References