Decoupled Django, 1st ed.
Understand and Build Decoupled Django Architectures for JavaScript Front-ends

Author:

Language: English

58.01 €

In Print (Delivery period: 15 days).

Add to cartAdd to cart
Publication date:
236 p. · 17.8x25.4 cm · Paperback

Apply decoupling patterns, properly test a decoupled project, and integrate a Django API with React, and Vue.js. This book covers decoupled architectures in Django, with Django REST framework and GraphQL. With practical and simple examples, you?ll see firsthand how, why, and when to decouple a Django project. 

Starting with an introduction to decoupled architectures versus monoliths, with a strong focus on the modern JavaScript scene, you?ll implement REST and GraphQL APIs with Django, add authentication to a decoupled project, and test the backend. You?ll then review functional testing for JavaScript frontends with Cypress. You will also learn how to integrate GraphQL in a Django project, with a focus on the benefits and drawbacks of this new query language.

By the end of this book, you will be able to discern and apply all the different decoupling strategies to any Django project, regardless of its size.


What You'll Learn  

  • Choose the right approach for decoupling a Django project
  • Build REST APIs with Django and a Django REST framework
  • Integrate Vue.js and GraphQL in a Django project
  • Consume a Django REST API with Next.js
  • Test decoupled Django projects

Who This Book Is For

Software developers with basic Django skills keen to learn decoupled architectures with Django. JavaScript developers interested in learning full-stack development and decoupled architectures with Django.
Chapter 1:  Introduction to the Decoupled World.- Chapter 2:  JavaScript Meets Django.- Chapter 3: Modern Django and Django REST Framework.- Chapter 4:  Advantages and Disadvantages of a Decoupled Architecture.- Chapter 5:  Setting up a Django project.- Chapter 6:  Decoupled Django with Django REST Framework..- Chapter 7:  API security, and deployment.- Chapter 8:  Django REST meets Next.js..- Chapter 9:  Testing in a Decoupled World.- Chapter 10: Authentication and authorization Django REST framework.- Chapter 11: GraphQL in Django with Ariadne.-Chapter 12:GraphQL in Django with Strawberry.

Valentino Gagliardi is a freelance consultant with a wealth of experience in the IT industry. He spent the last 8 years as a front-end consultant, providing advice and help, coaching and training on JavaScript and React. He worked as an instructor for multiple training agencies around the country, running in-person workshops and creating learning paths for aspiring developers. He loves to share his knowledge on his blog with tutorials reaching over 100,000  monthly visits. An avid Django user, he is active in the Python community as a speaker, and as a coach for Django Girls.

Gives the reader a complete overview of the architecture of a decoupled Django project Guides the reader to integrating GraphQL in a Django project Guides the reader through the different tools and approaches for testing a decoupled Django project