mojaloop / fraud_risk_management

Central repo for fraud and risk management development and specifications
Other
13 stars 7 forks source link

Added a template and script to speed up development of typologies #153

Closed JohannWNel closed 3 years ago

JohannWNel commented 3 years ago

Added a template to easily create new typologies. Please review the below (copy of the README.md) for more info on the implementation of the template.

Typology Template for NodeJs

This project is meant to speed up the development of typologies for the nodejs stack.
This project includes:

To get started:

  1. Copy the template to the working directory where the typology is expected
  2. Run the following command, replace the typology number with the number associated to the typology you are trying to create:
    npm run init:template <TYPOLOGY_NUMBER> - Note: if you want to see usage of this command try:
    npm run init:template -- -h
  3. The above command will install all dependencies and then setup the typology project to a state that would enable development.

After the typology is done initializing the below can be used to run the develop environment.

Other handy commands - while debugging, if you want the app to reload, just type "rs" in the terminal, this will trigger a restart.

CLAassistant commented 3 years ago

CLA assistant check
All committers have signed the CLA.