Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 1.3 KB

README.md

File metadata and controls

40 lines (26 loc) · 1.3 KB

Crowdnewsroom frontend (interviewer)

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.

Versions

Python 2.7.18

Node v10.24.1

Installation

`yarn install --ignore-engines`
# or npm install

Running

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

Testing

yarn test