<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>luozhouyang&apos;s log</title><description>Notes on Cloudflare, Kong Gateway, Docker, and self-hosting.</description><link>https://luozhouyang.com/</link><language>en</language><item><title>Database Design: The Cart Model and Guest Checkout</title><link>https://luozhouyang.com/e-commerce/data-model-carts/</link><guid isPermaLink="true">https://luozhouyang.com/e-commerce/data-model-carts/</guid><description>Why a shopping cart needs both userId and sessionId, why cart items don&apos;t store prices, and how to handle cart expiry without a cron job.</description><pubDate>Mon, 27 Jul 2026 16:25:38 GMT</pubDate></item><item><title>Database Design: The Checkout Session as Single Source of Truth</title><link>https://luozhouyang.com/e-commerce/data-model-checkout-sessions/</link><guid isPermaLink="true">https://luozhouyang.com/e-commerce/data-model-checkout-sessions/</guid><description>Why you need a local checkout session table between your business logic and the payment gateway — and why gateway metadata is a trap.</description><pubDate>Mon, 27 Jul 2026 16:25:38 GMT</pubDate></item><item><title>Database Design: The Order Model and Why Money Is Always Integer Cents</title><link>https://luozhouyang.com/e-commerce/data-model-orders/</link><guid isPermaLink="true">https://luozhouyang.com/e-commerce/data-model-orders/</guid><description>Designing an order table that survives payment gateway switches, fulfillment failures, and the eternal floating-point money bug.</description><pubDate>Mon, 27 Jul 2026 16:25:38 GMT</pubDate></item><item><title>Database Design: The Product Model for an Indie Store</title><link>https://luozhouyang.com/e-commerce/data-model-products/</link><guid isPermaLink="true">https://luozhouyang.com/e-commerce/data-model-products/</guid><description>Why a product table for an Amazon-FBA indie store looks nothing like a generic e-commerce schema — and the thinking behind every column.</description><pubDate>Mon, 27 Jul 2026 16:25:38 GMT</pubDate></item><item><title>Database Design: The Shipment Model and External Fulfillment Tracking</title><link>https://luozhouyang.com/e-commerce/data-model-shipments/</link><guid isPermaLink="true">https://luozhouyang.com/e-commerce/data-model-shipments/</guid><description>How to model shipments when fulfillment happens outside your system — tracking Amazon FBA orders, syncing carrier events, and knowing when to send the delivery email.</description><pubDate>Mon, 27 Jul 2026 16:25:38 GMT</pubDate></item><item><title>Organizing Admin Navigation with Collapsible Groups</title><link>https://luozhouyang.com/e-commerce/collapsible-navigation-groups/</link><guid isPermaLink="true">https://luozhouyang.com/e-commerce/collapsible-navigation-groups/</guid><description>How to restructure a flat admin sidebar into collapsible navigation groups with localStorage persistence and route-aware auto-expansion.</description><pubDate>Mon, 27 Jul 2026 16:16:28 GMT</pubDate></item><item><title>Building a Contact Inquiry System on Cloudflare Workers</title><link>https://luozhouyang.com/e-commerce/contact-form-on-cloudflare-workers/</link><guid isPermaLink="true">https://luozhouyang.com/e-commerce/contact-form-on-cloudflare-workers/</guid><description>Design a customer contact form with rate limiting, email notifications, and admin management — running entirely on Cloudflare Workers and D1.</description><pubDate>Mon, 27 Jul 2026 16:16:28 GMT</pubDate></item><item><title>Email Capture and Discount Codes for Indie E-Commerce</title><link>https://luozhouyang.com/e-commerce/email-capture-and-discount-codes/</link><guid isPermaLink="true">https://luozhouyang.com/e-commerce/email-capture-and-discount-codes/</guid><description>Design a homepage marketing system with email subscription popups, welcome discount codes, and server-side validation — without a marketing platform.</description><pubDate>Mon, 27 Jul 2026 16:16:28 GMT</pubDate></item><item><title>Building a Payment Gateway on Cloudflare Workers for Indie E-Commerce</title><link>https://luozhouyang.com/e-commerce/payment-gateway-on-cloudflare-workers/</link><guid isPermaLink="true">https://luozhouyang.com/e-commerce/payment-gateway-on-cloudflare-workers/</guid><description>Design a switchable Stripe + PayPal payment gateway abstraction on Cloudflare Workers with D1, encrypted credentials, and unified checkout sessions.</description><pubDate>Mon, 27 Jul 2026 16:16:28 GMT</pubDate><category>payment</category><category>stripe</category><category>paypal</category><category>cloudflare</category><category>workers</category><category>e-commerce</category></item><item><title>Transactional Email on Cloudflare Workers with SMTP and React Email</title><link>https://luozhouyang.com/e-commerce/transactional-email-on-cloudflare-workers/</link><guid isPermaLink="true">https://luozhouyang.com/e-commerce/transactional-email-on-cloudflare-workers/</guid><description>Build a reliable transactional email system on Cloudflare Workers using worker-mailer, React Email templates, D1-backed retry, and HMAC-signed order links.</description><pubDate>Mon, 27 Jul 2026 16:16:28 GMT</pubDate><category>cloudflare</category><category>workers</category><category>email</category><category>smtp</category><category>react-email</category></item><item><title>Deploying Kong Gateway with Docker</title><link>https://luozhouyang.com/kong/docker-deploy/</link><guid isPermaLink="true">https://luozhouyang.com/kong/docker-deploy/</guid><description>Deploy Kong Gateway on Docker and secure Kong Manager UI access.</description><pubDate>Thu, 20 Nov 2025 00:00:00 GMT</pubDate><category>kong</category><category>docker</category></item><item><title>Cloudflare Wrangler Usage Tips</title><link>https://luozhouyang.com/cloudflare/wrangler-tips/</link><guid isPermaLink="true">https://luozhouyang.com/cloudflare/wrangler-tips/</guid><description>A few tips for using the Cloudflare Wrangler CLI.</description><pubDate>Thu, 07 Aug 2025 00:00:00 GMT</pubDate><category>cloudflare</category><category>wrangler</category></item><item><title>Image Hosting with Cloudflare R2</title><link>https://luozhouyang.com/cloudflare/r2-image-hosting/</link><guid isPermaLink="true">https://luozhouyang.com/cloudflare/r2-image-hosting/</guid><description>A guide to building an image hosting platform with Cloudflare R2</description><pubDate>Thu, 31 Jul 2025 00:00:00 GMT</pubDate><category>cloudflare</category><category>r2</category></item><item><title>Kong Gateway introduction</title><link>https://luozhouyang.com/kong/introduction/</link><guid isPermaLink="true">https://luozhouyang.com/kong/introduction/</guid><description>Kong Gateway is one of the most widely used API Gateways.</description><pubDate>Tue, 29 Jul 2025 00:00:00 GMT</pubDate><category>kong</category><category>api-gateway</category></item></channel></rss>