All Projects → surveyjs → Surveyjs_react_quickstart

surveyjs / Surveyjs_react_quickstart

React QuickStart Boilerplate - SurveyJS: Survey Library and Survey Creator

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects

Projects that are alternatives of or similar to Surveyjs react quickstart

surveyjs angular cli
SurveyJS + Angular CLI Quickstart Template
Stars: ✭ 39 (-55.68%)
Mutual labels:  survey, form-builder
Motherplate
A bare bones responsive SCSS boilerplate for web designers
Stars: ✭ 392 (+345.45%)
Mutual labels:  boilerplate, bootstrap
react-quizzes
A React.js solution that offers a UI for creating surveys, forms and quizzes.
Stars: ✭ 25 (-71.59%)
Mutual labels:  survey, form-builder
Forms
📝 Simple form & survey app for Nextcloud
Stars: ✭ 127 (+44.32%)
Mutual labels:  survey, form-builder
Surveyjs Nodejs
Sample NodeJS backend for SurveyJS: Survey Library and Survey Creator
Stars: ✭ 65 (-26.14%)
Mutual labels:  survey, form-builder
Angular Surveys
Angular survey / form builder inspired by Google Forms
Stars: ✭ 219 (+148.86%)
Mutual labels:  survey, form-builder
Go Api Boilerplate
Go Server/API boilerplate using best practices DDD CQRS ES gRPC
Stars: ✭ 373 (+323.86%)
Mutual labels:  boilerplate, bootstrap
Lad
👦 Lad is the best Node.js framework. Made by a former Express TC and Koa team member.
Stars: ✭ 2,112 (+2300%)
Mutual labels:  boilerplate, bootstrap
Laravel Boilerplate
Laravel Boilerplate / Starter Kit with Gentelella Admin Theme
Stars: ✭ 704 (+700%)
Mutual labels:  boilerplate, bootstrap
Survey Creator
Online Survey Creator / Form Builder. See it in action:
Stars: ✭ 497 (+464.77%)
Mutual labels:  survey, form-builder
Slapdash
Boilerplate for bootstrapping scalable multi-page Dash applications
Stars: ✭ 225 (+155.68%)
Mutual labels:  boilerplate, bootstrap
Formium
The headless form builder for the modern web.
Stars: ✭ 78 (-11.36%)
Mutual labels:  survey, form-builder
Koa Vue Notes Web
🤓 This is a simple SPA built using Koa as the backend, Vue as the first frontend, and React as the second frontend. Features MySQL integration, user authentication, CRUD note actions, and Vuex store modules.
Stars: ✭ 200 (+127.27%)
Mutual labels:  boilerplate, bootstrap
surveyjs vue quickstart
SurveyJS + Vue Quickstart Template
Stars: ✭ 96 (+9.09%)
Mutual labels:  survey, form-builder
Startwordpress
Learn how to develop a WordPress theme from scratch with this basic skeleton and accompanying tutorial.
Stars: ✭ 187 (+112.5%)
Mutual labels:  boilerplate, bootstrap
Modular Admin Html
ModularAdmin - Free Dashboard Theme Built On Bootstrap 4 | HTML Version
Stars: ✭ 2,875 (+3167.05%)
Mutual labels:  boilerplate, bootstrap
React Core Boilerplate
Powerful ASP.NET Core 3 templates with React, true server-side rendering and Docker support
Stars: ✭ 169 (+92.05%)
Mutual labels:  boilerplate, bootstrap
Baumeister
👷 The aim of this project is to help you to build your things. From Bootstrap themes over static websites to single page applications.
Stars: ✭ 171 (+94.32%)
Mutual labels:  boilerplate, bootstrap
Flasksaas
A great starting point to build your SaaS in Flask & Python, with Stripe subscription billing 🚀
Stars: ✭ 412 (+368.18%)
Mutual labels:  boilerplate, bootstrap
Sing App
💥Free and open-source admin dashboard template built with Bootstrap 4.5 💥
Stars: ✭ 1,187 (+1248.86%)
Mutual labels:  boilerplate, bootstrap

React quickstart boilerplate for SurveyJS: Survey Library and Survey Creator

This project was bootstrapped with Create React App.

How to run this sample application

You can find the detailed information on how to perform common tasks in this guide.

Add survey component on your page

//In your react App.js or yourComponent.js file add these lines to import
import * as Survey from "survey-react";
import "survey-react/survey.css";

class App extends Component {
 //Define Survey JSON
 //Here is the simplest Survey with one text question
 json = {
  elements: [
   { type: "text", name: "customerName", title: "What is your name?", isRequired: true}
  ]
 };

 //Define a callback methods on survey complete
 onComplete(survey, options) {
  //Write survey results into database
  console.log("Survey results: " + JSON.stringify(survey.data));
 }
 render() {
  //Create the model and pass it into react Survey component
  //You may create survey model outside the render function and use it in your App or component
  //The most model properties are reactive, on their change the component will change UI when needed.
  var model = new Survey.Model(this.json);
  return (<Survey.Survey model={model} onComplete={this.onComplete}/>);
  /*
  //The alternative way. react Survey component will create survey model internally
  return (<Survey.Survey json={this.json} onComplete={this.onComplete}/>);
  */
  //You may pass model properties directly into component or set it into model
  // <Survey.Survey model={model} mode="display"/>
  //or 
  // model.mode="display"
  // <Survey.Survey model={model}/>
  // You may change model properties outside render function. 
  //If needed react Survey Component will change its behavior and change UI.
 }
} 
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].