|
|
# Python Micro-services with Django
|
|
|
## A complete guide from Hello World to deployment and scaling
|
|
|
|
|
|
|
|
|
### Part 1: Writing your very first Django micro-service
|
|
|
#### [Embracing Microservices with Django](./Embracing-Microservices-with-Django)
|
|
|
- [Micro-services Vs monoliths](./Embracing-Microservices-with-Django#micro-services-vs-monoliths)
|
|
|
- [Different types of micro-services](./Embracing-Microservices-with-Django#different-types-of-micro-services)
|
|
|
- [Benefits of using micro-services](./Embracing-Microservices-with-Django#benefits-of-using-micro-services)
|
|
|
- [Batteries included Vs minimalist framework](./Embracing-Microservices-with-Django#batteries-included-vs-minimalist-framework)
|
|
|
- [Is Django really too bloated?](./Embracing-Microservices-with-Django#is-django-really-too-bloated)
|
|
|
- [Storing extra batteries safely (configuring Django for micro-services)](./Embracing-Microservices-with-Django#storing-extra-batteries-safely)
|
|
|
#### Writing your very first Django micro-service
|
|
|
- [Trimming the configuration for a simple micro-service](./Writing-your-very-first-Django-micro-service#Trimming-the-configuration-for-a-simple-micro-service)
|
|
|
- [Hello World](./Writing-your-very-first-Django-micro-service#hello-world)
|
|
|
- [Response encoding](./Writing-your-very-first-Django-micro-service#response-encoding)
|
|
|
- [Turning to Django REST framework, how and why](./Writing-your-very-first-Django-micro-service#turning-to-django-rest-framework-how-and-why)
|
|
|
- [Using input data from the user](./Writing-your-very-first-Django-micro-service#using-input-data-from-the-user)
|
|
|
#### A more realistic micro-service - connecting to a data source
|
|
|
- Connection to a Django-supported backend
|
|
|
- CRUD with Django REST FRAMEWORK: ModelViewSet
|
|
|
- Customizing the ViewSet
|
|
|
- Customizing the Serializer
|
|
|
- Connection to an http(s) data source using requests
|
|
|
#### Asking your micro-service to perform tasks with REST
|
|
|
- Adding actions to a DRF ModelViewSet
|
|
|
- Using serializers with actions
|
|
|
- Fat models
|
|
|
#### Asking your micro-service to perform tasks with gRPC and GraphQL
|
|
|
- What is gRPC
|
|
|
- Starting with a simple method
|
|
|
- Reusing our Model method with gRPC
|
|
|
- Reusing everything with GraphQL
|
|
|
|
|
|
### Part 2
|
|
|
#### Architecture and separation of concerns
|
|
|
#### Security, authorization and authentication
|
|
|
#### Connecting it all together - Get your micro-services talk to each other
|
|
|
#### Testing
|
|
|
|
|
|
### Part 3
|
|
|
#### Packaging and publishing
|
|
|
#### Docker: Your micro-service in a container
|
|
|
#### Kubernetes: Deploying to the cloud
|
|
|
#### Service Mesh: Easy scaling
|
|
|
#### Prometheus: Service monitoring |