Skip to content

sssonu/Rule-Engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

A simple 3-tier rule engine application built with Flask that determines user eligibility based on attributes using an Abstract Syntax Tree (AST) to represent conditional rules.

Snapshots

  1. UI User Interface

  2. Rule Creation

    Rule Creation

  3. Evaluate Rule

    Evaluate rule

  4. Combine rule

Combined rule

Features

  1. Create ,Evaluate and Combine eligibility rules.
  2. Use of Abstract Syntax Tree (AST) for rule representation.
  3. RESTful API for rule management.
  4. Simple UI for interacting with the rule engine.

Technologies Used

  1. Backend: Flask
  2. Database :SQLite
  3. Frontend : HTML/ CSS
  4. Libraries : Flask- SQLAlchemy, Werkzeug

Installation

Steps
  1. Clone the repository in Visual Studio code : https://github.com/sssonu/FastAPI-Rule-Engine.git
  2. Create virtual environment : python -m venv venv
  3. Activate Virtual environment:On Windows venv\Scripts\activate
  4. Install the dependencies : pip install -r requirements.txt
  5. Set up Database : pip install mysql-connector-python #No installation is needed as Python includes sqlite3 by default.
  6. Run the application : python main.py
  7. You will see a link something like this http://127.0.0.1:5000/ .

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors