Giter Site home page Giter Site logo

jefersoneiji / decision-engine Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.05 MB

No-code decision engine for non-coders. These rules after created can become an API ready for consumption. Made with ReactFlow + Flask

Home Page: https://decision-engine-reactflow.netlify.app

Procfile 0.05% Python 21.82% HTML 0.40% JavaScript 4.49% TypeScript 73.12% CSS 0.12%
cicd git reactflow reactjs tailwindcss typescript

decision-engine's Introduction

No-code Decision Engine

for non-programmers

policy-diagram

Summary

This decision engine can generate one final decision based on the user's decision tree. Next, this policy can be stored and executed in the back-end.

Prerequisites

For this project to run, make sure these software are installed:

Installing

To run locally:

  1. Clone this repo

    git@github.com:jefersoneiji/vom-take-home.git
  2. Install dependencies in your machine

    yarn install
  3. Start both the front and back-end

    yarn dev

Testing

Execute the following command:

yarn test

Linting

yarn lint

Apps

  • README | Frontend: Contains front-end logic for the policy editor
  • README | Backend: Contains back-end logic for the CRUD operations in policies
  • README | PolicyDB: Local database with sqlite and sqlalchemy
  • README | ExecutionEngine: Responsible for processing and outputing one decision after executing a policy

Design Decisions

Turbo is used to reduce the number of steps required for executing commands such as spin up apps in dev mode.

Back-End

  • For the sake of speed and simplicity. SQLite was choosen as local database engine
  • Folders contain file according to their purpose. For instance routes only contains API routes. This structure make files predictible
  • As a way to provent bugs and enforce code styling pytest was added to the project

Front-End

  • Because of its reliability and simplicity Axios was chosen as http-client
  • Most user feedback comes shows as Toast notifications from react-toastify
  • As a way to provent bugs and enforce code styling eslint was added to the project
  • An AI assistant may be helpful in answering user's questions related to docs and help them through problem solving while create policies

Made by Jeferson Eiji ➡️ Get in touch!

decision-engine's People

Contributors

jefersoneiji avatar davidreisbr avatar nick-gabe avatar

Stargazers

Cristiano avatar

Watchers

 avatar

decision-engine's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.