Entries by mark

, , ,

Debugging a Dockerized Django app with VSCode

I am a huge advocate for integrating Docker into your development process. There are many benefits to this, such as: Consistent developer environments Parity of development and production environments Dependency isolation from your laptop and development environment However, all these benefits don’t come without a downside… When you isolate your development server into a Docker […]

,

How to use Terraform via Docker Compose for Pros

In this tutorial, I’ll show you how professional developers should use Terraform on a project. If you prefer to watch this tutorial in video format, find the video below: If you just want to see the finished sample code, you can find that here: github.com/LondonAppDeveloper/tf-docker-compose-starter-code Terraform is a fantastic tool for defining your deployment infrastructure […]

,

Installing Python on macOS using PyEnv for beginners

In this post I’ll explain how to install Python using PyEnv on a macOS machine. This tutorial is also available in video form here: What is PyEnv and why use it? macOS comes with Python pre-installed. However, the version installed is usually 2.7, which was deprecated on January 1st 2020. So you might be thinking: […]

JSON Web Tokens vs Token Authentication

What is the difference between JSON web wokens (JWT) and token authentication? We get this question a lot in our Build a REST API Beginner and Advanced courses. JSON web tokens (JWT) and token auth are two different types of authentication. Token Authentication Token authentication, or sometimes referred to as token auth, works by generating a random […]