In this episode of Running in Production, Ben Dominguez goes over building a
video course platform to learn Python. It’s written in Flask and the MVP was
finished in 3 weeks. He gets about 4,000 visitors a month. It’s hosted Heroku’s
hobby tier.
Ben is the solo developer on the project. He talks about using techs you’re
familiar with, keeping deployments simple with Heroku, using PaymentIntents
with Stripe and much more.
Topics Include
- 7:28 – Motivation for moving from WordPress to using Flask and Python
- 10:55 – It’s a video course platform to learn Python through Fantasy Football
- 13:08 – A couple of useful Python / Flask libraries that helped move things along quickly
- 16:07 – The React front-end and Flask API back-end are in the same repo
- 21:58 – PostgreSQL (prod) / SQLite (dev) are being used and the app is hosted on Heroku
- 27:56 – Tech stack recap and how Stripe is implemented with PaymentIntents
- 32:38 – Sending emails out with Mailchimp and gmail’s SMTP servers
- 35:34 – Everything is running on the hobby tier of Heroku for $7 / month
- 38:27 – The deployment process from development to production
- 41:04 – Database backups happen every 24 hours and manually before DB migrations
- 45:36 – Maybe implementing a custom forum into the platform later
- 48:44 – Best tips? Use your bread and butter skills to get to market as soon as possible
- 50:16 – Check out the platform or find FFDataPros on Twitter and GitHub
Links
📄 References
- https://learnpythonthehardway.org/
- https://jupyter.org/
⚙️ Tech Stack
-
flask →
-
python →
-
react →
-
gulp →
-
heroku →
-
mailchimp →
-
postgres →
-
sqlite →
-
webpack →
🛠 Libraries Used
- https://github.com/python-pillow/Pillow
- https://github.com/maxcountryman/flask-login
- https://www.sqlalchemy.org/
- https://gunicorn.org/
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.