Tutorials in Web Development

Category Django

Dockerizing Django

Setup a Docker development environment for Django with docker-compose.

TDD with Django-Graphene & Docker Part 1 — Setup the Django Development Environment

Setup a docker-compose development and production environments for Gatsby with a Django Graphene backend.

TDD with Django, GraphQL & Docker Part 2 — Test Driven Development

TDD of Django API In Part 1 we dockerized our Django Todo api. In this tutorial we are going to use Test Driven Development to build out the Todo api. Architecture of the API Our objective is to build a… Continue Reading →

TDD with Django, GraphQL & Docker Part 3 — Django Graphene

Using test driven development, (TDD) with Django Graphene and Docker.

TDD with Django, GraphQL & Docker Part 4 — Mutations

Mutations In part 3 we: Setup and configured Django Graphene Installed GraphiQL playground Wrote automated tests for GraphQL queries Created the types and schemas for GraphQL queries Using PyTest, ran tests for the all our Todo app’s GrapQL queries Introduced… Continue Reading →

TDD with Django, GraphQL & Docker Part 5 — JWT

Authentication with GraphQL & JWT Django comes with an authentication and authorization system which we can integrate with GraphQL Creating Our First User Create a new folder called /server/users at the root of server with a new file schema.py: /todo-app-graphql/server/users/schema.py… Continue Reading →

TDD with Django, GraphQL & Docker Part 6 — Testing Django Mutations with JWT

Django JWT Testing Since we implemented JWT authentication in our previous post all our mutation tests will fail. Why? Because our server/todo_app/schema.py is now testing to confirm that an authenticated user is logged in. After all, we don’t want anybody… Continue Reading →

TDD with Django, GraphQL & Docker Part 7 — Backup DB & Makefile

Backing Up Our Database One of the final tasks we need to address is how to back up a postgres database running inside a docker container. Not that difficult: After running the command above if you check the contents of… Continue Reading →

TDD with Gatsby, Django & Docker Part 1, Chapter 01 — Setup the Django Development Environment

Setup a docker-compose development and production environments for Gatsby with a Django Graphene backend.

TDD with Gatsby, Django & Docker Part 1, Chapter 02 — TDD with Django

TDD of Django Backend Todo: continuation of Part 1 and using Test Driven Development for building out the django backend. We want to build a Todo application that will allow us to create Todo tasks that are assigned to a… Continue Reading →

« Older posts

© 2025 Leeson Research

Up ↑