AbstractCRE Helps Extract Key Data from Real Estate Property Documents

Copied URL with current time.
0:00 / 0:00

In this episode of Running in Production, Cole Simmons goes over building an AI driven service for commercial real estate professionals with Flask and Python. It’s hosted on Google Cloud using GKE (Kubernetes) and has been up and running since 2017.

Cole talks about rewriting the initial prototype, the dangers of not using an ORM, splitting out the front-end from the back-end, using Google Functions, the importance in making sure you’re building what your users want and so much more.

Topics Include

  • 1:05 – The inefficiencies when dealing with commercial real estate
  • 6:51 – From an MVP in 2016 to the main app in 2017 to the first paying customer in 2019
  • 16:48 – Motivation for choosing Flask and Python and backing out from using Go
  • 21:59 – Losing (recoverable) data by accidentally running a bad raw SQL query
  • 24:14 – Using openpyxl to handle Excel files and Weasy print to export PDFs
  • 25:31 – The API is a separate service in its own repo and the AI stuff runs on App Engine
  • 30:47 – The API is built with Flask straight up, no external packages
  • 32:19 – The front-end is built using React and Redux
  • 34:24 – Creating an amazing data tables solution is still not a generic solved problem
  • 39:43 – Payments are handled in a custom way (ACH, check, etc.)
  • 44:06 – Going with Google Cloud, Google Functions and GKE (Kubernetes Engine)
  • 49:18 – A DNS related GCP bug caused ~80% of their requests to 404 for 2-3 days
  • 54:00 – Developing local functions and what it’s like to deploy everything
  • 1:03:04 – Making sure the back-end and front-end deployments are sync’d up
  • 1:05:15 – Dealing with secret management using Google’s key management service
  • 1:07:48 – Currently using Mailgun but looking to switch over to Postmark
  • 1:13:43 – Database and file backups are happening regularly
  • 1:19:31 – GCP’s logging and error reporting has been good so far, using LogRocket too
  • 1:21:25 – The TL;DR on what Webflow is and how they use it for their landing page
  • 1:27:10 – Best tips? Listen to advice but make and follow your own path
  • 1:29:41 – Customer discovery is important as well as asking the right questions
  • 1:32:15 – It’s probably going to take you longer to build your app than you initially think
  • 1:38:30 – Cole’s on Twitter and you can email him if you’re an engineer that is interested in this problem space
📄 References
⚙️ Tech Stack
🛠 Libraries Used

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.

Questions

Apr 12, 2021

✏️ Edit on GitHub