/reporter

React app for reporting findings for code contests

Primary LanguageJavaScriptMIT LicenseMIT

⚠️ reporter

Serverless React app for submitting templatized GitHub issues to a configured public or private repo.

Dev configuration

  1. Set GitHub token in .env (see .env.example)
  2. Set desired repo in src/config.json (e.g. code-423n4/reporter)
  3. Configure form fields in src/config.json

Production configuration

Add Netlify deploy variables:

  • REACT_APP_GITHUB_TOKEN

Configuration

You must pick one field to be named title, which will become the issue's title.

To can set a labelAll to be applied to all submitted issues.

You can also pick an additional field to be named label in order to predefine a set of option labels as select options or to allow an open-ended label field. (The latter seems a little nuts, but hey, you do you.)

The rest of the fields will get added to the body. Each subsection of the body will start with a markdown header h2 that will use the label of that field.