Skip to content

correctiv/crowdnewsroom-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published