Project Overview
Roshigo is a multi-tenant e-commerce platform where every store gets its own storefront, its own admin panel and its own domain. A single Cloudflare Worker serves the storefronts with SSR, and hosts both the store owner's product, order and campaign management and the platform operator's tenant operations in one application.
The data layer runs on Postgres and is isolated per tenant with Row Level Security; sensitive writes pass through a narrow service-role gateway delegated to database functions instead of application code. Storefronts are theme-based: each theme defines its own schema, components and panel-editable content model. Payments (Stripe, iyzico, bank transfer), shipping (Yurtiçi Kargo SOAP — labels, cancellation, tracking), email (Cloudflare Email Sending plus an inbound support inbox), media (R2 + CDN), analytics (GA4, GTM, Meta Pixel, Clarity) and the plugin layer are all part of the core.