Online Pleas is an online tool to allow people who need to attend court for a minor offence, to plead guilty. The tool got developed after finding that over 60% of people attending court for a minor offence are planning to, and plead guilty.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
models
public
routes
test
views
.env.example
.gitignore
.jshintrc
app.js
chalk-colours.js
conf.js
db.js
mailer.js
notes.md
package.json
readme.md
webpack.config.js

readme.md

Online pleas

NJC has developed a simple prototype in partnership with Code for Australia to allow individuals to submit a guilty plea for minor infringements online. The prototype demonstrates how a guilty plea could be lodged online prior to the scheduled court date for non-complex minor offences - typically these offences comprise nearly 50% of MCV’s case volume.

This prototype was developed using:

Thanks also to:

Screenshots

Installation

  1. Clone the repo
  2. Configure your env variables, see the .env.example file for the required environment variables. This includes a mailgun api key (feel free to replace with your own mailing service)
  3. install all packages npm install
  4. Build the app npm install

Usage

This app requires npm and nodejs

Testing

Tests are run using protractor follow the installation instructions first and make sure protractor and webdriver are working.

Make sure that:

  1. the app is running
  2. a selenium session is active
  3. webpack-dev-server is running

you can use npm run pre-test to do both of these, then you can run the e2e tests using npm run test. This should start a selenium session in chrome and run through the test suite.

Deployment

Credits