Submit social housing lettings and sales data (CORE)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.1 KiB

---
parent: Architecture decisions
---
3 years ago
# 001: Initial architecture decisions
3 years ago
## Ruby on Rails
- Well established and commonly used within DLUHC and GOV.UK in general
3 years ago
- Good ecosystem for common web app tasks, quick productivity
- Matches team skill set
- Analysis/RAP pipelines will sit in the DAP platform and not this application directly so optimising for web framework tasks makes sense.
## Testing
- Rspec for unit testing
- Capybara or Cypress-Rails for front end testing
- TDD or ATDD approach
- No specific code coverage target or deploy gate as we feel this leads to arbitrary metric chasing and is counter-productive
## Front end
3 years ago
- In the same app codebase
- ERB templates
## Code style and linting
3 years ago
- GOV.UK Rubocop for Ruby style
- `.editorconfig` for whitespace, newlines etc
3 years ago
## Ways of working
3 years ago
- Flexible approach to branching. Generally Trunk based CI (every TDD round results in a commit and push to master) when pairing, branches and PR when doing solo or more exploratory work.
- Github actions for automated test, build, deploy pipeline
- Github actions should run Rubocop, RSpec, Front end tests, docker build and deploy
- Encourage pairing