Based on:
Demo video: https://youtu.be/yMdjBaz2Wa4
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.
- Docker Engine (version
18.06.1-ce
) - Docker Compose (version
1.22.0
) - nodejs (version
v12.10.0
)
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
$ 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