Tutorialspoint

Celebrating 11 Years of Learning Excellence! Use: TP11

Master Django REST Framework with Docker, Dev To Production

person icon Alpha Omondi Ogilo

4.2

Master Django REST Framework with Docker, Dev To Production

Build a functional API with Docker, Celery, Redis, Flower, Nginx, Nginx Proxy manager, Portainer and more...

updated on icon Updated on Jun, 2025

language icon Language - English

person icon Alpha Omondi Ogilo

English [CC]

category icon Development ,Web Development,Django

Lectures -92

Duration -13.5 hours

Lifetime Access

4.2

price-loader

Lifetime Access

30-days Money-Back Guarantee

Training 5 or more people ?

Get your team access to 10000+ top Tutorials Point courses anytime, anywhere.

Course Description

Hi, welcome to this course on building a production-ready, detailed Django REST API, running on a web server powered by NGINX, on a custom domain name, and served securely over HTTPS with SSL Certificates from Letsencrypt.

This course is NOT for absolute beginners.

We shall achieve our goal by leveraging tools such as Docker, Celery, Redis, Flower, Nginx, Nginx Proxy Manager, Portainer, shell scripts, and more...

This course is targeted at those with AT LEAST 6 months of web development experience, but more is better. Before beginning, you should have some familiarity with the following concepts, as much as I will try to explain everything.

The concepts we shall cover include:

  • Docker and running multiple containers.

  • Securing a Django REST API with HTTPS using SSL Certificates.

  • REST APIs with Django and Django Rest Framework.

  • Class-Based Views.

  • Shell Scripting.

  • Asynchronous tasks with Celery and Redis.

  • Asynchronous tasks monitoring with Flower.

  • Introduction to API testing with Pytest using factories and fixtures. 

  • Token-based authentication.

  • Working with email in development with Mailhog and in production with Mailgun.

  • Python Test coverage.

  • Serving static and media files with NGINX and white noise.

  • Makefiles and how they make working with Docker easier.

    and much much more...

All this shall be covered step by step so that you can leverage the skills you learn in this course to build even bigger and better applications at scale.

My Hope is that you shall gain immense value from this.

Goals

  • You will learn how to use Docker with Celery, Redis, and Flower with Django REST Framework.
  • You will learn how to use Reverse Proxies with NGINX and NGINX Proxy Manager.
  • You will learn how to Secure an API with HTTPS with SSL Certificates from Let's Encrypt.
  • You will be introduced to API testing with Pytest using factories and fixtures.
  • You will learn how to manage multiple Docker containers with Portainer.
  • You will learn how to use shell scripts to automate and monitor processes.
  • You will learn how to implement Asynchronous tasks with Celery and Redis.
  • You will learn how to implement Asynchronous task monitoring with Flower.
  • You will learn how to work with Postgres within a Docker container, including how to perform backups using shell scripts.
  • Working with emails using Mailhog in development and Mailgun in production.
  • You will learn how to use makefiles to make working with Docker easier.

Prerequisites

  • This course is NOT for absolute beginners.
  • This course is targeted at Python Developers with at least 1 year of web development experience or more.
  • You should use a computer with any LINUX-based operating system or MacOS. If not possible, a Windows machine will also work, but I have not tested it. the course material with a Windows machine.
  • You should be familiar with the basic concepts surrounding shell scripts, Docker, API's and Django.
Master Django REST Framework with Docker, Dev To Production

Curriculum

Check out the detailed breakdown of what’s inside the course

Introduction

3 Lectures
  • play icon Introduction 00:35 00:35
  • play icon Course Requirements 00:58 00:58
  • play icon What you are getting yourself into............... 06:24 06:24

Project Setup

4 Lectures
Tutorialspoint

Logging In Django

2 Lectures
Tutorialspoint

Brief Intro to Insomnia

1 Lectures
Tutorialspoint

Configure Django with Docker

5 Lectures
Tutorialspoint

How to create Postgres database backup when self hosting

4 Lectures
Tutorialspoint

Using Makefiles

1 Lectures
Tutorialspoint

Creating a Custom User Model

4 Lectures
Tutorialspoint

NGINX

3 Lectures
Tutorialspoint

Configure Celery and Redis

4 Lectures
Tutorialspoint

TimeStamped & Profile Models

3 Lectures
Tutorialspoint

Authentication,Authorization & JWT

6 Lectures
Tutorialspoint

User Profile Serializers and Views

4 Lectures
Tutorialspoint

Article Functionality

8 Lectures
Tutorialspoint

Article Rating Functionality

3 Lectures
Tutorialspoint

Article Bookmarking

3 Lectures
Tutorialspoint

Claps(The way Medium Does it)

2 Lectures
Tutorialspoint

Allow Users to add their Responses

4 Lectures
Tutorialspoint

Article Search using ElasticSearch

4 Lectures
Tutorialspoint

Code Quality

1 Lectures
Tutorialspoint

Intro to Django Testing with Pytest

6 Lectures
Tutorialspoint

Production Build

10 Lectures
Tutorialspoint

DigitalOcean Deploy, NGINX Proxy Manager & Portainer

7 Lectures
Tutorialspoint

Instructor Details

Alpha Omondi Ogilo

Alpha Omondi Ogilo

Hi, I am Alpha Ogilo, a self taught FullStack Software engineer with a passion for mentorship and teaching of computer programming principles. I have a liking for Python and JavaScript and its frameworks. Docker is also one of my favourite tools. In the future plan to learn many more technologies/tools and share what I have learnt.

I currently work Full-time as a Senior Software Engineering Manager and in my free time also started creating youtube tutorials

Course Certificate

Use your certificate to make a career change or to advance in your current career.

sample Tutorialspoint certificate

Our students work
with the Best

Feedbacks

W

Web Dev

so far so good!

Related Video Courses

View More

Annual Membership

Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses

Subscribe now
Annual Membership

Online Certifications

Master prominent technologies at full length and become a valued certified professional.

Explore Now
Online Certifications

Talk to us

1800-202-0515