Skip to content

App config util #142

@mwarman

Description

@mwarman

Describe the story

Create an application configuration utility which imports, validates, and transforms application configuration variables. Use the zod schema validation library. Provides a single module which serves as the source of all application configuration throughout the rest of the application code members.

Update the project documentation to describe this new approach to application configuration usage within application components.

Acceptance criteria

GIVEN the application is running
WHEN a component accesses the application configuration the first time
THEN the configuration is validated against the schema
AND the validated configuration object is returned

WHEN a component access the application configuration subsequent times
THEN the validated configuration object is returned

WHEN configuration validation fails
THEN an Error is thrown with a meaningful message

Additional context

n/a

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestrefineNeeds further refinement

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions