Skip to content

manferugui/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 Join the chat at https://gitter.im/andrewtelnov/surveyjs

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 -g typings
    npm install
    

    The first npm command sets up the popular Gulp build tool. The second npm command sets up the Typescript Definition Manager Typings.

  3. Create TypeScript definition files

    typings install
    

    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

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 92.4%
  • JavaScript 3.7%
  • HTML 3.2%
  • CSS 0.7%