Understand and Build Decoupled Django Architectures for JavaScript Front-ends
Buch, Englisch, 236 Seiten, Format (B × H): 178 mm x 254 mm, Gewicht: 489 g
ISBN: 978-1-4842-7143-8
Verlag: Apress
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
Zielgruppe
Professional/practitioner
Autoren/Hrsg.
Fachgebiete
Weitere Infos & Material
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.