In the first and the second part of this tutorial, we have implemented the authentication and backed CRUD module of our solution. Here, we are going the develop the basic frontend CRUD implementation, consuming the backend endpoints provided in the previous part.

Photo by Goran Ivos on Unsplash

The target

Now, we are going to implement the initial frontend interface of the pool system. We have already defined the endpoints to perform the basic operations to handle the system, including the creation, reading, updating, and deletion of pool tasks. By accessing such endpoints, we are now able to create the initial administration pages.

To recap, we have made…


Na primeira parte do tutorial, nós implementamos o módulo de autenticação da nossa solução. Nesta etapa, iremos desenvolver a implementação inicial do CRUD: os endpoints do backend.

Photo by Thomas Park on Unsplash

O cenário

Nós implementaremos um sistema de enquetes, similar ao que é apresentado no tutorial oficial do Django, mas algumas personalizações. Neste tutorial, nós enfatizaremos as operações de backend relativas aos cadastros de novos enquetes (questões) e suas respectivas opções de escolha.

A figura abaixo ilustra o diagrama de classes básico considerado em nosso exemplo.


In the first part of this tutorial, we have implemented the authentication module of our solution. Here, we are going the develop the initial CRUD implementation: the backend endpoints.

Photo by Thomas Park on Unsplash

The scenario

We are going to implement a pool system, similar to that one presented on the official Django tutorial, but with some customization. In this tutorial part, we will focus just on the backend operations relative to the registration of new pools (questions) and their respective option choices.

The below diagram illustrates the basic class diagram considered on our example.


Photo by Fabian Grohs on Unsplash

Django é o framework de desenvolvimento web Python mais popular. Recentemente, ele tem sido amplamente utilizado para desenvolver plataformas de backend, fornecendo acesso a dados via REST, GraphQL ou tecnologias similares. Embora muitos artigos tenham sido escrito com o objetivo de mostrar a integração do Django como backend com frameworks de frontend Javascript, como o React, Angular, VueJS, eu não encontrei um artigo completo que apresente a integração do Django com o NuxtJS, incluindo o gerenciamento de requisições autenticadas.

Eu gostaria de frisar que muitas outras estratégias poderiam ser empregadas para desenvolver tal integração, mas eu apresento a que se…


Photo by Fabian Grohs on Unsplash

Django is the most popular Python web framework. It is widely used as a backend platform, providing data access through REST, GraphQL, or similar technologies. Although many articles have been written covering the integration of Django as backend with Javascript frontend frameworks, such as React, Angular, Vuejs, I have not found a complete article that presents the integration of Django and NuxtJS, including the handling of authenticated requests.

I’d like to emphasize that many other strategies could be employed to develop such an integration, and I present the one that seems to be very suitable. I’ve implemented the backend by…

Eduardo da Silva

Professor at Catarinense Federal Institute (Brazil), PhD on Computer Science.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store