Skip to content

TatyanaRyzh/surveyjs

 
 

Repository files navigation

survey.js is a JavaScript Survey Library. It is a modern way to add a survey to your website. It uses JSON for survey metadata and results. Build Status ##Getting started To find our more about the library go

Install the library using npm.

npm install survey-knockout

If you are using bootstrap then go with bootstrap templates:

npm install survey-knockout-bootstrap

If you use react, then install the react versions:

npm install survey-react
npm install survey-react-bootstrap

Or dowload the latest version as zip file Download

##Building survey.js from sources

To build library yourself:

  1. Clone the repo from GitHub

    git clone https://github.com/andrewtelnov/surveyjs.git
    cd surveyjs
    
  2. Acquire build dependencies. Make sure you have Node.js installed on your workstation. This is only needed to build surveyjs from sources.

    npm install -g gulp
    npm install
    

    The first npm command sets up the popular Gulp build tool.

  3. Create TypeScript definition files

    gulp tsd
    

    Typescript definition files should be located at 'typings' directory.

  4. Build the library

    gulp makedist
    

    After that you should have the library at 'dist' directory.

  5. Run unit tests

    gulp copyfiles
    gulp test_ci
    

    The first command will copy all required files to 'wwwroot' directory and the last command will run unit tests usign Karma

##Coming features

Find the features under development and Todo list in the Trello board.

##License

MIT license - http://www.opensource.org/licenses/mit-license.php

##Visual Editor

Visual Editor sources are here

About

JavaScript Survey Engine

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 91.2%
  • JavaScript 4.2%
  • HTML 3.9%
  • CSS 0.7%