Giter Club home page Giter Club logo

poc-serveyjs-gatsby's Introduction

POC SurveyJS + Gatsby + Postgraphile

Based on:

Demo video: https://youtu.be/yMdjBaz2Wa4

Why this project?

I would like to create conditional form surveys.

This is my journey:

  • attempt 1: with Google Forms ⇢ it failed, Google Forms is too limited about conditional feature
  • attempt 2: with free TypeForm plan ⇢ it failed, too limited about conditional (« Logic jumps »)
  • attempt 3: with professional TypeForm plan ⇢ it failed, really tough and tedious to configure and some limitations
  • attempt 4: with OpenSource LimeSurvey ⇢ fewer limitations that Google Forms and TypeForm but really tough and tedious to configure

Finally, after some search on GitHub, I found SurveyJS Library and I wrote this POC to test it.

It is a success, now I can write and configure my survey with code: src/datas/surveys.json.

SurveyJS have many build in Question Types and I can customize or create new Question Types.

Yes, I know, this solution isn't accessible to non-programmer people, but I'm programmer, and with this stack, I have no limitation and I can write survey quickly, without painful UI.

Prerequisites

On OSX: install with Brew

Brew is a popular package manager on macOS. However it does not come pre-installed: follow the instructions from the Brew Website:

$ brew cask install docker
$ brew install git node yarn

Getting started

$ docker-compose up -d postgres
$ ./scripts/load-seed.sh
$ docker-compose up -d

Run frontend:

$ yarn install
$ yarn develop

Go to http://127.0.0.1:8000/survey/fullstack/ and fill the survey.

See results:

$ ./scripts/enter-in-pg.sh

poc-serveyjs-gatsby's People

Contributors

stephane-klein avatar

Watchers

 avatar  avatar

Forkers

pleachcx

poc-serveyjs-gatsby's Issues

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.