This is the part of the Crowdnewsroom (CNR) that is visible to the participants. It gets data from the CNR API and displays a step-by-step interviewer to the users.
The main components of the system are React for the system as a whole, react-jsonschema-form for the individual steps and json-rules-engine-simplified for the transitions between the steps.
This project was bootstrapped with Create React App. You can find information about common generic tasks in this guide here.
Python 2.7.18
Node v10.24.1
`yarn install --ignore-engines`
# or npm install
You can start the app with yarn start
but you will have to set the REACT_APP_BACKEND_URL
environment
variable to defined which backend to talk to (say your local one vs a publicly deployed instance).
env REACT_APP_BACKEND_URL=https://mycrowdnewsroom.example.org yarn start
yarn test