Git Product home page Git Product logo

ionic-surveyjs's Introduction

Ionic-SurveyJS

Sample project that shows how to integrate SurveyJS in Ionic APP.

Technologies

This project shows you how to:

* Integrate SurveyJS in Ionic APP.
* Create new Survey using SurveyJS API dxsurvey.com/api (get request).
* Show list with active surveys using SurveyJS API dxsurvey.com/api (get request).
* Show list with archive surveys using SurveyJS API dxsurvey.com/api (get request).
* Delete survey using SurveyJS API dxsurvey.com/api (get request).
* Change survey name using SurveyJS API dxsurvey.com/api (get request).
* Archive survey by it's id using SurveyJS API dxsurvey.com/api (get request). 
* Restore an archive survey by it's id using SurveyJS API dxsurvey.com/api (get request). 
* Show survey details.
* Get survey results using SurveyJS API dxsurvey.com/api (get request).
* Enable or disable the ability to view survey results by non autorized user via direct link using SurveyJS API dxsurvey.com/api (get request).
* Show survey results using Chart.js (http://www.chartjs.org/).
* Intercepting all requests errors.
* Added Timeout for HTTP requests to the API, and then throw an error if the request fails.
* Download survey resulst CSV in Desktop.

App example

Demo

Demo online

Configuration

  1. To use your own surveys register in SurveyJS
  2. Create your own survey.
  3. In providers/survey/survey.ts replace: accessKey with your SurveyJS API accessKey to get your active surveys.

NOTE: To see your survey results

Running

Before you go through this example, you should have at least a basic understanding of Ionic concepts. You must also already have Ionic installed on your machine.

  • Test in localhost:

To run it, cd into ionic-surveyjs and run:

npm install
ionic serve
  • Test in Android:
ionic cordova add platform android
ionic cordova run android
  • Test in iOS:
ionic cordova add platform ios
ionic cordova run ios

Requirements

ionic-surveyjs's People

Contributors

abritopach avatar

Watchers

 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.