Pedro Balas

← All work

Project

MyKubo – Social Commerce & Referral-Based E-Commerce Platform

Role Co-founder & COO · Jun 2013 – Mar 2016

  • E-Commerce
  • Social Commerce
  • Referral Systems
  • Marketplace

Summary

MyKubo revolutionized e-commerce by introducing a referral-driven social commerce model, allowing users to earn commissions by sharing and promoting products. Built on PHP Laravel (backend), Vanilla JS/jQuery (frontend), and AWS (EC2, S3, CloudFront), the platform featured a custom referral tracking system using event-driven architecture (Laravel Queues & Webhooks) to accurately attribute and automate payouts for influencers and users. With ElasticSearch-powered product discovery, SEO-optimized SSR templates, and social sharing integrations, MyKubo tripled customer acquisition, grew 20% month-over-month, and reduced merchant marketing costs by 60%. Its viral social commerce model led to an acquisition by a celebrity management agency, and its data-driven inventory tracking system was later adopted by major Portuguese brands, proving its scalability and profitability in the evolving e-commerce landscape.

Challenges

  • Transforming Traditional E-Commerce into a Social Commerce Model In 2015, e-commerce platforms primarily focused on direct transactions, while MyKubo aimed to gamify shopping by incentivizing social referrals and influencer-driven sales.
  • Building a Reliable Referral & Commission System Required a custom-built tracking engine to attribute sales across different social platforms, ensuring accurate commission calculations for both users and influencers.
  • Scaling for Viral Growth While Ensuring Performance The referral model relied on user-generated traffic surges, demanding a scalable backend that could handle high referral activity without slowing down order processing.
  • Optimizing for SEO & Organic Social Growth Social referrals and product sharing had to be optimized for search engines, requiring server-side rendering (SSR) and optimized metadata handling.

Solution

  • Custom Referral & Commission Tracking System Developed an event-driven tracking engine in Laravel, using Webhooks and Laravel Queues to process and distribute commissions instantly.
  • Social-Driven Product Discovery & Viral Growth Features Built user-curated wishlists and product collections, encouraging users to share across Facebook, Twitter, and Pinterest.
  • High-Speed Product Discovery with ElasticSearch Implemented full-text search with ElasticSearch, optimizing real-time product lookups and personalized recommendations based on referral activity.
  • SEO & Performance Optimizations with SSR & CDN Enabled server-side rendering (SSR) with Laravel Blade templates, CloudFront CDN caching, and minified JavaScript for faster page loads and better search engine rankings.
  • Influencer & Brand Collaboration API for Seamless Monetization Built custom merchant APIs, allowing brands, influencers, and affiliate marketers to connect accounts, track referrals, and automate payouts.

Impact

  • Achieved 20% month-over-month active user growth, proving the social commerce model’s viability.
  • Tripled customer acquisition, while reducing merchant marketing costs by 60% through referral-driven purchases.
  • Acquired by a Celebrity management agency, validating the profitability and scalability of referral-driven e-commerce.
  • Adopted by major Portuguese brands, with MyKubo’s data-driven inventory system becoming their primary sales-tracking tool.

How it was built

  • FrontendVanilla HTML, CSS, JavaScript (jQuery) for dynamic UI interactions and smooth user experience.
  • BackendPHP (Laravel 5) for robust API development, referral tracking, and order management.
  • Cloud InfrastructureAWS EC2 and S3 for scalable hosting and storage, CloudFront for faster content delivery.
  • DatabaseMySQL for structured product, user, and order management, ElasticSearch for fast product discovery and personalized recommendations.
  • PaymentsEasyPay for secure online transactions and automated referral payouts.
  • Referral & Social CommerceCustom-built referral tracking system using event-driven architecture with Webhooks and Laravel Queues.
  • Security & ComplianceAES-256 encryption for transactions and OAuth 2.0 authentication.
  • MethodologiesLean startup approach, conversion-focused UX iterations, and A/B testing for optimizing referral flows.

Gallery

← All work

Contact

Before you commit the budget, let's make sure the plan makes sense.

Book a 30-minute call. We'll discuss the investment you're considering, the decisions you need to make, and whether the Sprint is the right fit.

Book a call

The booking will ask:

  • What you're considering building or changing
  • The approximate investment
  • When you need a decision

Prefer email? Write to hello at pedrobalas dot com