Skip to content

vinzdeveloper/json-rule-editor

Repository files navigation

json-rule-editor

Getting Started

Json rule editor is an unornamented web interface tool to manage your business rules and decision outcomes. A single page application to effortlesly upload / create business rules via json files. Since the lightweight libraries are the new normal in web applications, possessing logics in json file will be a effective way to manage the application code. Having said that redudancy can be detoured by discarding the other business rule file format such as xml or excel, which is often hectic to parse and adding complications to developer.

Process to implement json rule file in your application follows

  • Generate rule file using json rule editor
  • Place the generated file in your application folder,
  • and pass the relative path of file and input parameters into json rules engine to get the output.

Facinating feature it implies is, we can validate the business decisions instantly once after rules are added. Thus, ensuring expected outcome is returned from the rule sheet before generates the file. Consequently it eliminates issues at first place when rules are being created instead of identifing at later stage of development or testing.

Usage:

To launch the json rule editor tool, you can do either of the below

  1. Click json rule editor
  2. or install it locally via git clone https://github.com/vinzdeveloper/json-rule-editor.git
    • start the application by npm install and npm start

The detailed steps to create json rule file using this tool in next section.

Thanks to json-rules-engine:

In principle, json rules engine is an integral backbone library should be added into your application to process the business rules created from this rule editor. It is highly recommended to go through the json rules engine concepts and explore the features it offers.

Install json rules engine in your application using the steps mentioned in the npm

This documentation explains the steps to create / manage rules in json rule editor tool.

This documentation covers,

  1. Why Rule Engine?
  2. Create Business Decisions using Json Rule Editor
  3. Implementation of rules in application
  4. Manage existing rule
  5. More examples in Decisions
  6. Advanced examples

About

Json rule editor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •