1.1.1 • Published 1 year ago

ngl-netagg v1.1.1

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
1 year ago

NetAgg

The NetAgg service is responsible for handling ping/post requests to our buyers

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.