Tracking Games Played on a Flight Simulator

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

In this episode of Running in Production, Paul Cappaert talks about building a leader board for a flight simulator that he developed at University. It’s built with Django and Python and runs on the Heroku free tier. It was in development for most of the 2019 school year.

Paul goes over using QR codes as a login mechanism and what it was like building an API back-end so that the game server (Unity) running the simulator can report back stats.

Topics Include

  • 3:36 – Motivation for using Django and Python
  • 5:26 – It’s broken up into a few Django apps across a few thousand lines of code
  • 6:31 – Using QR codes to identity users from the simulator (it uses Unity)
  • 11:32 – Using Django REST Framework to accept requests from the game server
  • 15:58 – Using SQLite locally but PostgreSQL on Heroku, Docker + Redis too
  • 18:32 – Reasons for picking Heroku over the alternatives
  • 22:46 – The process to develop and deploy the application
  • 24:58 – Secrets are saved outside of GitHub
  • 26:43 – Django templates power the front-end for the website
  • 31:09 – Best tips? Don’t worry about not knowing everything from the get go
  • 32:19 – Also don’t forget to read the manual, aka documentation
  • 34:11 – Paul is on GitHub at
📄 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.


  • Want to discuss this episode on Twitter? Tag @nickjanetakis or use #RunningInProduction

Sep 28, 2020

✏️ Edit on GitHub