Running in Production

Hear about how folks are running their web apps in production. We'll cover tech choices, why they chose them, lessons learned and more.

https://runninginproduction.com/podcast/

subscribe
share






Litt NYC Lets You Easily Find Friends and Things to Do


In this episode of Running in Production, Harry Moreno goes over building a platform with Django that lets you connect with people and find things to do in NYC. It’s hosted on Heroku and has been up and running in production since August 2019.

Harry covers building an API with Django, using React Native for a mobile app, the struggles of learning Kubernetes and how it’s a good idea to validate your idea before trying to code it.

Topics Include
  • 3:25 – Measuring key business metrics with OKR and KPI analysis
  • 6:25 – Motivation for choosing Django as the back-end for the native mobile app
  • 13:29 – From trying to learn GitOps and Kubernetes to using Heroku in the end
  • 17:53 – Using Django templates, Django REST Framework and Websockets
  • 28:29 – They are using PostgreSQL and Heroku’s APS for background jobs for now
  • 33:00 – Using (1) Heroku hobby Dyno and aiming for a 90+ Lighthouse score
  • 38:57 – Using the first paid plan of Heroku’s PostgreSQL and a few Heroku add-ons
  • 49:23 – Interesting Python / Django packages used to help build this service
  • 55:23 – The process of getting a feature developed locally and pushing it to production
  • 1:04:13 – Uploading user files to S3 and working on an automated test suite
  • 1:11:42 – Best tips? Try to validate your idea before coding it to completion
  • 1:14:55 – Check out https://litt.nyc/, they are on Instagram / Twitter too
Links ???? References
  • https://en.wikipedia.org/wiki/OKR
  • https://en.wikipedia.org/wiki/Performance_indicator
  • https://stackoverflow.com/q/61552070
  • https://developers.google.com/web/tools/lighthouse
  • https://12factor.net/
⚙️ Tech Stack
  • django →
  • python →
  • react →
  • bootstrap →
  • heroku →
  • papertrail →
  • postgres →
  • pusher →
  • s3 →
  • sendgrid →
???? Libraries Used
  • https://github.com/encode/django-rest-framework
  • https://pypi.org/project/django-geo/
  • https://github.com/evansd/whitenoise
  • https://github.com/psf/black
  • https://github.com/boto/boto3
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.


fyyd: Podcast Search Engine
share








 July 27, 2020  1h15m