Skip to content

orbiting/crowd-questions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CrowdQuestions

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

Develop

npm run dev:code
# run in seperate tab/window
npm run dev:server
open http://localhost:3000/

Development Server Env

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

Deploy

npm run build
npm run deploy

Clear CDN

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •