Git Product home page Git Product logo

openquestion's Introduction

Open Question

A questionnaire with open and transformable questions

Description

This is a very quick and small project, to quickly create a configureable questionnaire on a website.

The goal is to embed this questionnaire into an existing website without altering urls, and only commit POSTs for every action done.

The goal is also for users to post their own answers in case the admin did not provide spot-on answers.

Admin can log in using a ?admin=PASSHERE, and logout using anything else. A config allows configuring the admin password, whether visitors can alter their votes or not, and howmany questions they can add.

Unique features

  • The public visitors can add their own answers to the questions. This allows the questionnaire to be adjusteable to what the users think, rather than to what the site admin thinks the users think.
  • Very simple, no admin dashboard.
  • Ideal for quick investigations.

Installation

Just add include_once("openquestion.php"); somewhere inside your php file, where you wish to display the questionnaire, and alter the config.php to connect to a database. Tables can be prefixed.

Todo

Currently, the openquestion logic relies on bootstrap. This should not have templates, but could be hard to solve..

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.