We partnered with Leafwell to modernize their infrastructure, scale their operations, and enhance the user experience. By transitioning from a legacy Ruby monolith to a serverless architecture with microservices, and developing a sleek React-based medical app now serving over 10,000 users monthly, we helped Leafwell improve flexibility, resilience, and efficiency.
Additionally, we upgraded their data platform to handle larger datasets, deliver faster analytics, and support impactful research, positioning them for growth in the rapidly evolving cannabis healthcare industry.
The new Leafwell medical app, now in production, delivers a modern and intuitive user experience, strengthening Leafwell’s market position.

Our Collaboration
In 2024, we entered a strategic partnership with Leafwell. Initially, our collaboration centered on advisory support in areas like DevOps, site reliability, scaling, and performance optimization. Over time, this partnership evolved, with our founder, Ilie Ghiciuc, joining Leafwell’s board to contribute to their organizational growth and leadership strategy.
As the cannabis industry continues to gain traction, our partnership expanded to include a significant overhaul of Leafwell's platform—transitioning from an older Ruby monolith to a modern, serverless architecture.
In May, two of our developers began working on a prototype that has since evolved into the new Leafwell medical app. Currently, a team of nearly 10 people is dedicated to its development.
With Leafwell preparing for its next growth phase and expanding its services, we’re proud to support its journey and help position them to meet market demands with innovation and efficiency.
Our approach
Before implementing any technical changes, we first conducted an in-depth analysis of Leafwell’s existing Ruby monolith, identifying pain points related to scalability, performance, and data management. By collaborating closely with Leafwell’s stakeholders, we aligned our approach with their business objectives and growth plans, ensuring that the new architecture would support long-term expansion.
Building a Scalable, Secure, & High-Performance System
To future-proof Leafwell’s platform, we transitioned from a monolithic structure to a serverless microservices architecture. Each service was designed to operate independently, improving scalability, resilience, and deployment efficiency. We leveraged AWS’s cloud-native tools, including:
- AWS Lambda for serverless compute, ensuring flexible and cost-effective processing.
- Amazon RDS for a scalable, managed database solution.
- AWS AppSync & GraphQL to streamline data queries and improve API performance.
Security was a top priority. We implemented:
- End-to-end encryption for patient data.
- AWS Cognito for robust authentication.
- HIPAA-compliant infrastructure to ensure regulatory adherence.

Iterative Development & Continuous Deployment
Our teams worked in agile sprints, maintaining close collaboration through daily stand-ups, sprint planning, and bi-weekly demos. This approach ensured continuous alignment and rapid iteration based on real-time feedback.
To ensure a smooth transition, we implemented a continuous delivery strategy, deploying multiple updates per day. The new application was introduced incrementally, initially going live for a few hours at a time before full-scale rollout. This allowed us to:
- Monitor system performance in real-time and quickly address any issues.
- Optimize user experience based on actual usage data.
The Outcome: A Future-Ready Platform
The new Leafwell medical app is now fully operational, serving 10,000+ users monthly with a modern, intuitive experience. The enhanced platform supports larger datasets, faster analytics, and more impactful research—positioning Leafwell for scalable growth and industry leadership.
The results
By combining technical expertise with a collaborative approach, we’ve helped Leafwell achieve a significant transformation, equipping them to meet the demands of a dynamic and growing industry.
The transition to the new system was more than just a technical upgrade—it had a direct impact on Leafwell’s business. Since launching the modernized platform, Leafwell has seen a 20% increase in user engagement and a 30% reduction in support tickets related to system performance.
With improved analytics capabilities, Leafwell can now track user behavior more effectively, leading to data-driven decisions that enhance both patient outcomes and business strategy. The flexibility of the new architecture has also positioned them to expand into new markets without the technical debt that previously slowed growth.
Looking ahead, we’re exploring deeper AI-driven personalization for treatment recommendations, further enhancing security with advanced compliance monitoring, and optimizing infrastructure costs to support Leafwell’s continued growth. Our partnership remains ongoing, with new updates and features in the pipeline to keep Leafwell at the forefront of digital healthcare innovation.