Business role of the product / service

This web app is used by US administrative units like counties, states, towns, etc. to manage their mitigation actions (with respect to natural disasters) and track mitigation project success.

The client was a government subcontractor owning and offering its proprietary document processing solution to municipalities.

Project objectives

The project’s goals were upgrading the 4-year old app code, fixing bugs and improving the legacy UI.

What I did on the project

I worked as a single engineer on this project; after some pause (2 years), before which a team had created that service.

Architecture & tech leadership
  • Preparing solution engineering proposals for incoming projects
  • Setting tasks for team developers
  • Writing internal documentation and tech manuals
  • “Shottun surgery”-style rewrites of the codebase
Front end
  • Adding responsiveness to legacy pages
  • Front-end develpment (HTML / CSS /JS)
  • Web page performance optimization
  • Rewriting clumsy legacy HTML into correct, consise, semantic HTML that looks beautiful even with no CSS
DevOps
  • Configuring automatic deployment pipeline via Heroku
Back end
  • Authoring background jobs for Sidekiq
  • Developing a home-grown CMS / admin area
  • Refactoring legacy code
  • Upgrading Rails from previous versions
  • Upgrading gems in legacy Rails projects
  • Creating new pages with forms, charts, dashboards, tables, products etc.
QA
  • Writing feature tests with Capybara
  • Writing unit tests with RSpec
Project management
  • Participation in creating project roadmaps
  • Moving the project to a new task management system
Database-related
  • Rewriting controllers to reduce the number of SQL queries & lower DB utilization
  • Improving data quality and consistency on the DB level: adding FKEYs, UNIQUE and constraints, custom data types, migrating existing data to narrower types etc.
Security
  • Monitoring supply chain vulnerabilities and timely upgrading dependencies
  • Upgrading security-related HTTP headers to the modern standards
Product management
  • Creating extensive documentation of the underlying data model and logic behind the user-facing features
UI / UX
  • Fine-tuning web typography

What I discovered while working there

  • The product owner can have false memories about how the app used to behave before we started our work, and you need to be able to provide a hands-on demonstration of the prior code in work
  • Even in your own organization, people who previously woked on a project, may quit with leaving zero documentation, and you’ll have to guess the reasoning for their architectural decisions.

Challenges

The code base was 2 years old, running Rails v4 with current v7. Heroku had assigned a maintenance within 2 weeks that introduce breaking changes. There was no technical person on the client end.

Moreover, the client had false memories about how the app behaved in fine details and blamed it on us that after the infra upgrade the app aquired many errors (which indeed were pre-existent). We had to roll-out anoter staging version with the old code to prove our case.


Team

Besides me, the team had only a project manager

Feedback I received