Presentation I gave at the London Ruby User Group about reusing things from GOV.UK's codebase.
Tijmen BrommetLead Developer, GOV.UK Government Digital Service @tijmenbr
View Slide
Steal software fromgovernment!
GDS
GDSWhat if it worked for backend code too?
GDSSlides will be online at www.tijmen.cc/lrug
GDS3 real world apps3 cool patterns3 things to help big projects3 clever team tools
A really big app
GDSThis is a text slide
GDS8 years of codeRails 3 to Rails 5lots of domain modellingrunning single app in 2 modes
A data warehouse
GDScollects data from our system & analyticsuses a star schema database
A new app
Readable featurespecs
GDS{screenie FutureLearn blopo}
Spam honeypot
Archiving big tables
GDS100
Configure lots ofGitHub repos
GDS✅ only allow merge commits✅ protect master branch✅ enforce CI checks✅ add webhooks
Share frontend code
GDSapp/views/components/_back_link.html.erbapp/assets/stylesheets/components/_back-link.scssapp/assets/javascripts/components/_back-link.jsapp/views/components/docs/back_link.yml
GDSexample
Visual regressiontesting
Seal of approval
GitHub Trello Poster
Browser extension
GDShttps://www.gov.uk/learn-to-drive-a-carhttps://www.staging.publishing.service.gov.uk/learn-to-drive-a-carhttps://www.integration.publishing.service.gov.uk/learn-to-drive-a-carhttp://www.dev.gov.uk/learn-to-drive-a-carhttps://www.gov.uk/api/content/learn-to-drive-a-carhttps://www.gov.uk/api/search.json?filter_link=/learn-to-drive-a-carhttps://webarchive.nationalarchives.gov.uk/*/https://www.gov.uk/learn-to-drive-a-caretc etc
Want more?
GDSWant to code in the open too? We're hiring!https://jobs.jobvite.com/gds
GDSSlides & links at www.tijmen.cc/lrugThank you@tijmenbr