Hear about how folks are running their web apps in production. We'll cover tech choices, why they chose them, lessons learned and more.
Determine What Your Toilet Paper Supply Is Based on Your Usage
In this episode of Running in Production, Ben Sassoon goes over building a site that helps you figure out how much toilet paper you have left. It’s a static site using pure HTML. It’s been running in production since March 2020 and it’s hosted on GitHub Pages.
The site has had over 10 million visitors and was featured on various cable TV news outlets and talk shows. The MVP was built as a joke for his friends in about 20 minutes.
Topics Include
- 6:47 – A very simple static site let him spin up an MVP in about 20 minutes
- 8:00 – GitHub embraced his service, even though he surpassed the GH Pages traffic limit
- 10:26 – Making the site mobile friendly using BrowserStack and Polypane
- 12:59 – There’s not even a static site generator being used, it’s pure HTML
- 14:14 – Ezoic helped quickly add Google AdSense to the page
- 19:30 – Getting 300-400 donations and $5,000 / day from ads during its peak
- 22:01 – The core of the site is about 6 lines of vanilla JavaScript
- 27:32 – The process of transferring a domain name / site to another person
- 30:23 – A DNS mystery caused a bit of down time at one point
- 32:37 – Ben’s workflow for pushing code from development to production
- 34:17 – Going from basically no traffic to millions of visitors in a short period of time
- 35:27 – You can find Ben on Twitter at @bensassoon
Links
📄 References- https://education.github.com/pack
- https://www.browserstack.com/
- https://polypane.app/
- https://empireflippers.com/
Support the Show
This episode does not have a sponsor and this podcast is a labor of love. If you want to support the show, the best way to do it is to purchase one of my courses or suggest one to a friend.
- Dive into Docker is a video course that takes you from not knowing what Docker is to being able to confidently use Docker and Docker Compose for your own apps. Long gone are the days of "but it works on my machine!". A bunch of follow along labs are included.
- Build a SAAS App with Flask is a video course where we build a real world SAAS app that accepts payments, has a custom admin, includes high test coverage and goes over how to implement and apply 50+ common web app features. There's over 20+ hours of video.