0.0.2 • Published 2 years ago

ngl-dnc v0.0.2

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
2 years ago

DNC

The DNC service is responsible for managing Do-Not-Call requirements

Development

This project utilizes Tilt for setting up, deploying and managing the development environment.

Requirements

  • Local Development K8s Cluster
  • K8s Tilt
  • Rsync v3.0+
  • Node v16+

Getting Started

Once the requirements are met, simply tilt up within the root directory to bring up the development environment.

The environment is designed to automatically handle dependencies and builds.

Versioned Development

Driver is tightly coupled to the development environment to facilitate rapid prototyping. Version management can be handled through checking out the correct version of the driver to develop against using git version tags.

Compilation/Builds

Built files are NOT automatically two-way synced. This means any compilation is temporary to your development environment and not persist on restart. There are provided manual triggers for persisting build files to the local environment via Tilt.

Alternatively, you can compile/build locally prior to pushing up a new revision. Provided build scripts include:

  • npm run compile
  • npm run build
  • npm run driver:compile
  • npm run driver:build

Compilation must occur prior to builds if prototypes or schemas have been modified.

Testing

Tests are handled in two separate stages. 1) For TDD development, this project is setup to utilize Wallaby.js 2) For Test running, this project supports tests through Tilt

WallabyJS

Wallaby requires dependencies to be installed locally. To begin, npm install within the banker root directory.

The Wallaby runner should be configured to use the provided wallaby.conf.js file included within this repository.

Test Running

Tests can be dispatched via the tilt console.