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 →
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 →
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 →
Setup a docker-compose development and production environments for Gatsby with a Django Graphene backend.
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 →
Using test driven development, (TDD) with Django Graphene and Docker.
Mutations In order to post data to a server with Graphql we use a process called mutations which are similar to the query process we defined in our last post. TDD Graphene Mutations We’ll begin by writing a test for… Continue Reading →
Authentication with GraphQL & JWT Django comes with Users built in so, first we build our user app. Create 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 In… Continue Reading →
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 →
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 →
© 2025 Leeson Research