Skip to content

chatch/mobius-app-survey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Survey Opinion Rewards on Mobius

Create surveys and reward those who complete surveys with MOBI tokens. This operates something like Google Opinion Rewards but for the Mobius store.

A base fee of 10 MOBI is charged to create a survey. In addition 1 MOBI per completed survey must be provisioned to reward participants. On survey create you can specify how many survey completions you would like to target. So for example if you want 100 users to complete your survey then the cost of survey creation will be 100 MOBI plus 10 MOBI base fee for a total of 110 MOBI.

The 10 MOBI base fee is collected by the DApp and will be later exchanged for STEM tokens and donated to STEMchain approved projects.

Use

Go to the Mobius App store and find the "Survey Rewards" app.

Technology

Mobius - leverages the Mobius platform to provide crypto payments and authentication SurveyJS - uses the SurveyJS libraries and editor and this app based on the SurveyJS demo app

Setup

  • generate a DApp account. See Mobius docs for more information.
  • copy and fill out one of the config/ files public.yml.example to public.yml etc.
  • cd client && npm start
  • cd server && npm start

Client

A Preact based single page application.

Deployment

Deployed using up and configured in up.json. See up docs for getting started. Set an AWS profile and optionally a domain name then run :

up
up stack plan
up stack apply