Skip to content

Hands-On Microservices with Django, published by Packt

License

Notifications You must be signed in to change notification settings

PacktPublishing/Hands-on-Microservices-with-Django

Repository files navigation

Hands-On Microservices with Django

This is the code repository for the book Hands-On Microservices with Django, published by Packt.

What is this book about?

Book Name Are you a Django developer looking to leverage microservices to create optimized and scalable web applications? If yes, then this book is for you. With microservices, you can split an application into self-contained services, each with a specific scope running asynchronously while collectively executing processes. Written by an experienced Python developer, Hands-On Microservices with Django teaches you how to develop and deploy microservices using Django and accompanying components such as Celery and Redis.

This book covers the following features:

  • Understand the architecture of microservices and how Django implements it
  • Build microservices that leverage community-standard components such as Celery, RabbitMQ, and Redis
  • Test microservices and deploy them with Docker
  • Enhance the security of your microservices for production readiness
  • Boost microservice performance through caching
  • Implement best practices to design and deploy high-performing microservices

Get your copy today!

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

class AddressViewSet(viewsets.ModelViewSet):
    queryset = Address.objects.all()
    serializer_class = AddressSerializer

Following is what you need for this book:
This microservices and Django book is for Django developers who want to take the next step in back-end application development by adopting cloud-native microservices. Backend developers with working knowledge of Flask or other Python programming web frameworks will also benefit from this book. Basic knowledge of developing web APIs will help you get started with quickly building microservices on your own.

Software and Operating System List

With the following software and operating system list, you can run all code files present in the book (Chapters 2-11):

Chapter Software required OS required
2-11
  • Python
  • Django
  • Redis
  • RabbitMQ
  • Celery*
  • MongoDB Cloud version
Windows & Windows Subsystem for Linux (WSL)*, Mac OS, or Linux

* Celery only runs on Mac OS or Linux, so if you are on Windows, you will need WSL.

Extra for WSL

If you're on WSL, run the following commands to ensure Python works correctly:

  1. $ sudo apt update && sudo apt upgrade
  2. $ sudo apt upgrade python3
  3. $ sudo apt install python3-pip
  4. $ sudo apt install python3-venv

Related products

Get to Know the Author

Tieme Woldman works as a freelance Python developer and technical writer. As a Python developer, he builds web and data engineering applications with Django and Python data transformation packages such as pandas. As a technical writer, he has written software and user documentation for software companies such as Instruqt, Noldus Information Technology, and Rulecube. Tieme lives in the Netherlands, has a bachelor's degree in computer science, and holds several (technical) writing certifications.

About

Hands-On Microservices with Django, published by Packt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published