Pharmaceutical regulatory compliance & licensing portal*
* Real name obfuscated because of an NDA
Started in as a part of my work as Ruby developer, UI designer and tech lead for Speed & Function
Business role of the product / service
The system we worked on allowed the clients to prepare and edit the documentation necessary licensing paperwork.
The company’s business is helping its clients obtain pharmacological licensing
Project objectives
The client came to us with 2 goals: upgrade the project that had not been touched for 2 years, and add multi-factor authentication to the website. After a lot of upgrades, data model cleanup, security improvements and refactoring, we finally were able to switch to shipping first small and then big features.
What I did on the project
I was a tech lead and a full-stack Ruby developer on this project, working alongside and mentoring a junior Ruby developer. Then the junior dev left the project, and I kept on as a single developer.
DevOps
- Configuring automatic deployment pipeline via Heroku
- Setting up Heroku pipelines & review apps
- Creating custom supply chain vulnerability assessment tools
Project management
- Estimating large projects
QA
- Writing unit tests with RSpec
Back end
- Upgrading gems in legacy Rails projects
- Re-writing pages from ActionView partials to ViewComponent
- Developing a home-grown CMS / admin area
- Refactoring legacy code
- Creating new pages with forms, charts, dashboards, tables, products etc.
- Upgrading Rails from previous versions
- Implementing MFA-protected authentication
Architecture & tech leadership
- Creating risk management assessment documents
- Authoring SDLC documentation (deploy procedures, security etc.)
- Conducting technical interviews
- Preparing and taking ISO 27002 certification
- Automating highly complex Excel-driven manual workflows previously performed by the client’s legal team
UI / UX
- Advice & guidance on better UX in the web interfaces
- Fine-tuning web typography
Product management
- Generating upsell proposals for current clients based on deep understanding of their product
- Shaping-up and developing business features from very vague and chaotic task definitions
- Creating extensive documentation of the underlying data model and logic behind the user-facing features
- Anticipating and preparing for client’s needs months ahead of them realizing they need it
- Reframing feature requests, proposing simpler UX alternatives based on how the data model and app actually work
- Linking day-to-day features to the client's revenue model and product positioning
- Turning one-off requests into general capabilities
Front end
- Rewriting clumsy legacy HTML into correct, consise, semantic HTML that looks beautiful even with no CSS
- Migrating asset pipeline across several tools
- Replacing React with HotWire
- Implementing dynamic multi-step intake forms
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
Challenges
The versions of all OSS packages were substancially old, and we had to create work-arounds to install everything on the modern macnihes locally. Naturally we upgraded everything, but it took some time.
Another problem was the absence of technical leadership on the side of the client, resulting in that the client team was taking into consideration only something they can “see” — features and details of the UI, so I had to give voice to the needs of the system.
Lessons learnt
The client can insist on de-prioritizing security, resilience, bugs etc. and demand features, but then suddenly ask you to pass a security audit or SLDC ISO certification.
Team
Besides me, the team consisted of
- a junior Ruby developer
- project manager
- a QA engineer
- several managers on the client side
Technologies / skills
Main
- Devise
- Ruby
- Ruby on Rails
- Slim
- Capybara
- Git
- GitLab
- RSpec
- Docker
- Heroku dynos
- Heroku pipeline
- Postgres
- SQL
- ViewComponent
- React
- CSS
- HotWire
- HTML
- Tailwind CSS
- WebPack
- AWS S3
- JavaScript
- jQuery
- Metabase
- Herdr
- Claude Code
- SmolVM
- GhostVM
- MCP
- 2FA / MFA
Secondary
Feedback I received
I want to give a big shout-out to the client team and everyone who contributed: [...], Sergey Pedan, [...]. The stakeholders on the client’s side highlighted a few things on today’s yearly review: - S&F never says “we can’t do it” but discovering opportunities to resolve the issues - S&F made a difference and helped to hit 2024 milestone for one of the product - Leadership hears that the project-level stakeholders speak highly about S&F team - They appreciate our transparency and communication - They appreciate that S&F uncovers the gaps and brings in the right people in a flexible manner - The products are in a significantly better state than they were before us Good job everyone! 🔥 🙌🏻 🐹 This account is pretty small, [...], but it has been consistently bringing this profits for a year and a half and will continue to do so in 2025 (and hopefully grow).
The S&F team has been fantastic to work with!
@Sergey Pedan your updates are beautiful 🤩
I want to share an achievement of the whole team: Recently, [our client] and [their parent company] were going through ISO 27001 and 9001 re-certifications, and all the projects where the S&F team is engaged were parts of the scope. Daria [my manager] led the preparation — there was a lot of work with documentation, processes, and figuring out the specifics — and organised consultations with Alex [our security consultant]. As a result, the client passed certification — see the message below. Huge kudos go to Daria and the whole team: [3 of my colleagues from adjacent projects], @Sergey Pedan and [my QA engineer].
This has been a true partnership rather than a traditional vendor relationship. Your team has been responsive, collaborative, and invested in our success. We appreciate the willingness to work through challenges together, continuously improve the platform, and bring thoughtful ideas to the table. We look forward to continuing the partnership in the years ahead.
Kudos to Sergey Pedan for a lot of ideas on the processes improvements
The news about the impact that S&F has made for [the client] has grown. We now have another business unit that is very interested in quotes for a few projects.
HUGE 🥳 Sergey, you constantly deliver huge value for the product