Application for getting relevant stats about PRs and reviewers
$ bundle install
$ rails db:create
$ rails db:schema:load
$ rails db:seed
$ yarn install
$ EDITOR=vim rails credentials:edit
If you would like to run application locally or on your production server you need to generate new config/master.key and use config/credentials.yml.example for updating config/credentials.yml.enc with your api keys.
foreman s
For running production env locally you can call
bin/local-production
$ rspec
With browser
$ rails server -e test -p 5002
$ yarn cypress open --project ./spec/e2e
Headless
$ rails server -e test -p 5002
$ yarn run cypress run --project ./spec/e2e
contracts - model schemas for validators schemas - model schemas for validating controller params validators - model validations forms - service object to interact with user form input
deliveries, notifiers - delivery layer with different providers
queries - separated database queries services - business logic layer policies - authorization logic
The source code is available as open source under the terms of the MIT License.