Frontend facing application for the repairs API.
Dependency | Version |
---|---|
Ruby | 2.7.2 |
Rails | 6.0.3 |
Yarn | 1.15.2 |
$ git clone [email protected]:LBHackney-IT/repairs-hub.git
$ bundle install
$ yarn install
Postgres should be running
$ rails db:create
$ rails db:migrate
Create 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 test
We 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 start
We use Github Actions as part of our continuous integration process to build, run and test the application.