Frontend facing application for the repairs API.
| Dependency | Version |
|---|---|
| Ruby | 2.7.2 |
| Rails | 6.0.3 |
| Yarn | 1.15.2 |
$ git clone git@github.com:LBHackney-IT/repairs-hub.git$ bundle install$ yarn installPostgres should be running
$ rails db:create$ rails db:migrateCreate your .env file from .env.sample. You must add the repairs API endpoint here. (example: ENDPOINT_API=http://localhost:3035)
We use Jest for our unit testing library. You can run the full javascript test suite using following command:
$ yarn testWe have added a Procfile and with the help of foreman you are able to run the rails server and webpack dev server both at once
$ foreman startWe use Github Actions as part of our continuous integration process to build, run and test the application.