I made an entire e-commerce platform on Shiny
summary
The project builds ggirl, an R package that turns ggplot2 plots into physical postcards via a ggpostcard() call that POSTs images to a Shiny backend, triggers a Stripe checkout, and uses external printing APIs. It uses brochure to let Shiny listen for POST/webhook requests, callr to spawn background R processes so Stripe gets immediate confirmations, and blastula plus image resizing for emails. Production runs on Saturn Cloud, shipping takes ~1–2 weeks and finding a high‑quality printer proved surprisingly time consuming.
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
15mR Markdown + RStudio Connect + R Shiny
09mPublishing Customer Facing Products with RStudio Connect
21mDeploying End-To-End Data Science with Shiny, Plumber, and Pins
20mWeb applications with Shiny and React and AI
20mBuilding a Flexible, Scaleable Self-Serve Reporting System with Shiny
