Tutorials

2022

How to build a GraphQL API using Python and Django

As API developers it's easy for us to fall into the trap of routine. I'm not saying it's a bad thing but it gets boring real quick. To break through this routine it's up to us to do interesting and new things.

2021

CI/CD Pipelines with Github Actions and Django

Deployment is hard. You have to make sure that you are in the correct environment, with the correct variables, and finally, run the correct commands in order. Other things are hard too, like keeping code quality high with consistent testing, and linting. These kinds of things should be done automatically.

2021

Message Queues with Celery, Redis, and Django

Some tasks don't have to be done immediately. Examples of tasks like these include: * When a user signs up, you don't need to immediately send emails to him. * When a video gets uploaded to YouTube, thumbnails get generated after some time. * When you want to generate

2021

Integrating Auth0 with DRF

A couple of months I started my first project with Auth0. We had a RESTful application, and my team lead went and told me to integrate our authentication system with Auth0. I was confused because most of the work was done in the front end, and I just didn'

2021

Introduction to Testing in Django and Django Rest Framework

> This article will go over the basics of testing and how to write tests for our Django APIs. I'm gonna be honest, I only started writing tests 3 months ago. It was the start of my new project and I've decided to develop the habit

2021

How to Integrate Elasticsearch with DRF

In this article, you will learn how to create a simple search API using Elasticsearch and Django-Rest-Framework (DRF) Elasticsearch is the leading search engine in the world. Many companies use it such as Uber and Slack, but to leverage this technology in Django is pretty confusing. There are

2021

How to create a YouTube audio player using Python?

A couple of weeks ago I joined a Discord server, where a bunch of programmers hang out and do projects together. One of these projects was a Youtube GUI player. I started working on the project and realized it's a lot harder than I thought it would be.