scope:
- crowdsource questions
- list present questions
- voting for questions
- composer to add question
This component was extracted out of republik-frontend. In this process the composer was not migrated. To renable posting questions, you need to implement a composer.
This is a fork of: https://github.com/orbiting/erbschaft
npm run dev:code
# run in seperate tab/window
npm run dev:server
open http://localhost:3000/
You can use a git-excluded .env file in development. Add styleguide configuration there.
Bootstrap your .env file:
cp test/.env.example test/.env
The example assumes you'll have a backend running on port 5000. You'll will need to add the host of this dev app to the backends cors list:
CORS_WHITELIST_URL=http://localhost:3011
npm run build
npm run deploy
Goto https://app.keycdn.com/zones/purgeurl/87880 and enter:
/s3/republik-assets/dynamic-components/crowd-questions/index.js
If you change asset files be sure to purge those too.