Hear about how folks are running their web apps in production. We'll cover tech choices, why they chose them, lessons learned and more.
A Real Estate Order and Appraisal System for a Small Business
June 29, 2020
46:03
44.22 MB
Downloads: 0
In this episode of Running in Production, Austin Lewis goes over replacing an Excel sheet with a custom / internal Django app to manage his real estate business. It’s been up and running on the AWS free tier since April 2020.
It has processed over 300 orders in the few months it’s been up and Austin is sole developer of this project. It is one of the first apps he’s deployed.
Topics Include
- 6:40 – Motivation for using Django and Python and taking advantage of Django’s admin
- 9:22 – Breaking down how the app is structured as a monolith and a few helpful libraries
- 15:28 – Having the foresight to upload files to S3 while having only 1 production EC2 server
- 17:24 – Sticking with Django templates and sprinkles of JavaScript to avoid Yak Shaving
- 20:06 – Using Docker / Docker Compose with PostgreSQL and Traefik
- 25:26 – Recap of AWS services (free tier) and setting up the EC2 servers
- 27:07 – It’s very helpful to deploy your app early and to also use Docker
- 30:25 – Covering the deploy process, the value in testing and secret management
- 36:01 – Using Mailgun for sending email and Sentry for error reporting
- 41:36 – Planning for disaster by letting RDS handle backups
- 43:05 – Best tips? Keep learning and just get something up and running
- 45:10 – You can find Austin on GitHub or contact him by email
Links
📄 References ⚙️ Tech Stack- django →
- python →
- aws →
- bootstrap →
- docker →
- jquery →
- lets-encrypt →
- mailgun →
- postgres →
- rds →
- route53 →
- s3 →
- sentry →
- traefik →
- ubuntu →
- https://github.com/shivanshs9/pdfgen-python
- https://github.com/jschneier/django-storages
- https://gunicorn.org/
- https://github.com/pytest-dev/pytest
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.