I made an entire e-commerce platform on Shiny
summary
A full e‑commerce system built in R: an R package ggirl package sends ggplots via HTTP POST to a remote Shiny server that shows a preview, creates a Stripe checkout session, and triggers fulfillment via printing APIs. Key tools: brochure package to accept POSTs and host multiple Shiny apps, callr background processes to run fulfillment so webhooks respond quickly. Processing is ~95% POST requests, postcards ship in 1–2 weeks, coupons cut price to $0.50.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 1:47Live demo: ordering ggpostcard
- 3:15Platform architecture
- 4:40R to Shiny via POST
- 6:26Brochure for concurrent apps
- 7:29Redirect to Stripe
- 8:52Stripe webhooks
- 10:40Callr for background tasks
- 11:23Postcard printing service
- 12:26Confirmation emails with blastula
- 13:07Shiny server on Saturn Cloud
- 14:08Key challenges
- 14:48Additional features
related talks
15mI made an entire e-commerce platform on Shiny
23mEmpowering Decisions: Advanced Portfolio Analysis and Management through Shiny
14mR Shiny - From Conception to the Cloud
20mBuilding a Flexible, Scaleable Self-Serve Reporting System with Shiny
20mA New Era for Shiny-based Clinical Submissions using WebAssembly
20mWeb applications with Shiny and React and AI
20mRunning R-Shiny without a Server
01h 44mShinylive - Running R and Python Dashboards without a Server
