
poetry isn't previously installed, install it first. Then continue to create a venv, and install dependencies.env file in the project root with the following content:http://0.0.0.0:5000. You can specify a different host and port using the --host and --port arguments.http://localhost:3000.POST /create_rule: Create a new rulePOST /evaluate_rule: Evaluate a rule against provided dataPOST /combine_rules: Combine multiple rulesGET /get_catalog: Retrieve the attribute catalogGET /get_rule: Retrieve a specific ruleGET /get_all_rule_names: Retrieve all rule namesDELETE /delete_rule: Delete a specific rulehttp://localhost:5000/docs.pyproject.toml file for the backend and package.json for the frontend.page.tsx: The main page component that renders the rule engine interface. It includes tabs for creating, combining, and evaluating rules, as well as displaying the rule tree.route.ts: Contains API route definitions and functions for making requests to the backend server.rule-tree.tsx: A component for rendering the Abstract Syntax Tree visualization of rules using react-d3-tree..env file with the appropriate Docker container details:Posted Feb 27, 2025
Rule Engine where we can create and evaluate rules with the help of Abstract Syntax Tree and have interactive visualization