Legacy refactor & B2B marketplace transformation
Refactored CloudTask’s Rails backend and Next.js frontend to fix query bottlenecks, improve page load speeds, and stabilize the platform for commercial launch.
Business context
The Reiter Group operates CloudTask, a B2B marketplace connecting companies with sales agencies, independent professionals, and sales tools. The platform enables SaaS and tech businesses to scale without building an in-house sales team.
Project in facts
- Outsourcing & offshoring consulting, e-commerce
- USA
- 2 Fullstack developers
- June 2024 - May 2025
- Ruby on Rails development, React JS development
- Ruby on Rails, GraphQL, PostgreSQL, Next.js, MongoDB, Elasticsearch
Challenge
The client had an early version of the platform with basic profile creation and messaging capabilities. However, candidate verification, onboarding approvals, and matching workflows still required administrator oversight. As user volume grew, these manual dependencies created operational bottlenecks.
At the same time, the underlying Rails application had accumulated technical debt and duplicated code. The client needed to strengthen their engineering team by hiring dedicated Ruby on Rails developers capable of refactoring a mature codebase and building scalable marketplace capabilities.
Product goals
- Streamline self-service onboarding and candidate profile management
- Provide searchable profiles and efficient employer–candidate matching
- Support direct interaction between employers and candidates
- Improve organic discoverability through an SEO-ready architecture
Solutions
We approached the project in two parallel streams. While one part of the team refactored the legacy Rails application to eliminate technical debt and stabilize the architecture, the other focused on building the marketplace capabilities required for successful commercialization.
We improved self-service registration, user profiles, and account management, replacing manual administrator workflows with automated platform interactions. At the same time, we implemented search improvements, matching logic, server-side rendering, and SEO enhancements to support user acquisition and marketplace growth.
Code refactoring
Complex code blocks were broken down into smaller, maintainable service classes.
Duplications removal
Consolidated 78 duplicated code fragments into reusable components.
Intelligent matching
Search and recommendation logic matches employers with sales professionals based on profile attributes.
Frontend optimization
Heavy libraries were replaced with lightweight alternatives to speed up loads.
Engineering approach
We migrated core data from MongoDB to PostgreSQL to enforce transactional consistency, support complex relational queries, and scale matching workflows. To deliver rapid search across marketplace listings, we integrated Elasticsearch.
For better system maintainability, we refactored business logic into service classes following SOLID principles and standardized background job execution with Redis and Sidekiq. We also introduced automated testing and CI checks to eliminate regression risks.
On the frontend, we streamlined the Next.js and TypeScript application by pruning bloated dependencies. Implementing server-side rendering accelerated page load times and strengthened SEO performance. GraphQL and Apollo Client optimized data fetching between the UI and backend services.
Business impact
Result
Combining expertise in Ruby on Rails development and React JS development, Rubyroid Labs rebuilt CloudTask’s technical foundation, introduced core marketplace workflows, and prepared the product for commercial growth without the limitations of the legacy codebase.
-
Self-service marketplace
Transformed an administrator-driven platform into a marketplace where sales professionals can fully manage their profiles, and participate in the hiring process without external intervention. -
Up to 70% higher app performance
Reduced response times improved user experience and conversion potential.
Need to refactor a mature codebase?
Please fill out this form, and our manager will contact you within one business hour. If necessary, we can sign an NDA and begin project discussions.
Thank you.
Your message has been sent successfully!
We’ll get in touch with you within 24 hours, excepting requests received on Saturday, Sunday.