Giter VIP home page Giter VIP logo

omkarphatak / interactive-decision-tree Goto Github PK

View Code? Open in Web Editor NEW

This project forked from judsonmitchell/interactive-decision-tree

0.0 0.0 0.0 2.01 MB

The Interactive Decision Tree is a web-based tool that will walk users through a decision process by asking questions to lead them down the appropriate decision path. This fork optimizes the project for legal service related sites

Home Page: http://loyolalawtech.org/github-forking-and-access-to-justice/

PHP 54.08% CSS 1.99% JavaScript 43.93%

interactive-decision-tree's Introduction

Introduction

This is a fork of HungryMedia's Interactive-Decision-Tree which is a great tool for quickly implementing web-based decision trees. Decision trees are a userful way for law-related sites to help users evaluate potential claims. More information about this project is available on the LoyolaLawTech site.

A demo decision tree which helps users with criminal records expungements is available here.

A demo of the admin backend can be found here [user:admin, pass: admin].

A PhoneGap-ready implimentation of the frontend for mobile can be found at https://github.com/judsonmitchell/idt-mobile;

Requirements

  • PHP, with cURL installed
  • MySQL

Features

  • Authenticated users can create or edit decision trees using a simple web-based tool. Just log in to the admin backend and select "Create a New Decision Tree."
  • A disclaimer can be added which the user must accept before proceeding to the tree.
  • Includes a database to store potential referrals (lawyers, free legal service providers, etc). Users can be prompted to see a list of referrals in their area by adding the prompt text anywhere in the decision tree, enclosed in double curly braces (e.g, "{{ Get a referral }}").
  • User clicks on referral sources can be tracked in the included database.
  • Admins can run reports on user clicks on referral sources.
  • Trees can be themed using themes from Bootswatch;

Install

git clone https://github.com/judsonmitchell/interactive-decision-tree.git
  • Add the schema in schema.sql to your database.
  • Put your db credentials in _CONFIG.php.
  • Navigate to http://[YOUR SERVER NAME]/interactive-decision-tree/private/editTree.php in your browser.
  • Login using the default username and password (admin/admin) [Note that there is no UI for adding new administrators; you must add new ones in the db manually; code expects for the password to be sha1 hashed; please delete the default account once you have set up].
  • Begin creating your decision tree.

Mobile

A port of this project optimized for mobile apps using PhoneGap Build can be found here.

##License (MIT)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

interactive-decision-tree's People

Contributors

judsonmitchell avatar

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.