Skip to main content
Back to Projects
🛒
Case Study Live

SokoHive.cloud

A production-grade marketplace built for the Kenyan market — optimized for mobile-first users, integrated with local payment systems, and deployed on hardened infrastructure.

Role:Lead Full-Stack Engineer & DevOps
Node.jsExpressReactPostgreSQLNginxVercelCloudinarySharp
70%
Page Load Reduction
Via Sharp + Cloudinary pipeline
99.9%
Uptime
Hybrid Vercel/VPS deployment
WebP
Image Format
Auto-converted with 1600px max edge
2
Payment Methods
M-Pesa & Paystack integrated

Key Engineering Achievements

The engineering decisions and challenges behind this project

Hybrid Infrastructure & Deployment

Challenge

Moving from a personal development environment to a professional, secure business domain.

Solution

Architected a hybrid deployment strategy using Vercel for high-performance frontend delivery and a Linux VPS (Hostinger) for robust backend logic.

Impact

Achieved a clean separation of concerns, ensuring 99.9% uptime and professional branding via sokohive.cloud.

VercelLinux VPSNginxDNS

Automated Media Pipeline (Image Optimization)

Challenge

Preventing high-resolution mobile uploads from slowing down the site for users on limited mobile data in Kenya.

Solution

Built a custom processing pipeline using Sharp and Cloudinary. Auto-rotates images, strips GPS/EXIF metadata for seller privacy, and converts all uploads to WebP with a max edge of 1600px.

Impact

Reduced average page load size by 70%, ensuring the marketplace is lightning-fast even on 3G/Edge connections.

SharpCloudinaryWebPEXIF Stripping

Security & Reliability Hardening

Challenge

Transitioning an API to handle real financial transactions securely.

Solution

Implemented Let's Encrypt SSL via Certbot with automated renewal. Hardened Nginx configurations to manage client_max_body_size and secure proxying. Solved complex CORS and 500 Error loops during domain migration by implementing a dynamic origin-trust system for Vercel preview deployments.

Impact

Production-grade security posture with zero downtime during full domain migration.

SSL/TLSCertbotCORSNginx Hardening

Fintech Integration (M-Pesa / Paystack)

Challenge

Integrating mobile-first payment methods for the Kenyan market with reliable transaction tracking.

Solution

Integrated a secure escrow-style payment flow using Paystack and M-Pesa Webhooks. Developed a custom logging system using PM2 to track and debug transaction states in real-time.

Impact

Reliable payment processing with full transaction audit trail and real-time debugging capability.

M-PesaPaystackPM2Webhooks

Project Analytics

A data-driven look at the project's architecture and performance

Page Load Optimization

Before (Raw)100
After Sharp55
After WebP30

Tech Distribution

100%
Frontend (React)30%
Backend (Node/Express)35%
Infrastructure20%
Integrations15%

Developer's Note

Building SokoHive wasn't just about the code; it was about the environment. I learned that a great product is only as good as its infrastructure. Debugging Nginx proxy headers and Cloudinary transformation credits taught me more about production-level reliability than any tutorial ever could.

GN
George Njoroge
Lead Full-Stack Engineer & DevOps