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 #148

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
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


JoNel seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.