Exercises and Further Reading¶
Exercise: Separate Front-End from Polls application¶
Re-write the front-end of the Polls application in a front-end framework of your choice, e.g. React, Angular or Vue.js, instead of using Django templates. You can use the REST API we created as the data source for for your front-end application.
Kubernetes in Under 3 Hours¶
Read the “Learn Kubernetes in Under 3 Hours” guide here: https://medium.freecodecamp.org/learn-kubernetes-in-under-3-hours-a-detailed-guide-to-orchestrating-containers-114ff420e882 and learn how to install Minikube to run Kubernetes locally.
Exercise: Create a Kubernetes (Minikube) deployment of the Polls application¶
Using Minikube, create a local Kubernetes deployment of the Polls application and experiment with changing the number of replicas required of each container (front-end, back-end, MySQL).
Learn How To Run Kubernetes In Your Favorite Cloud Environment¶
- https://kubernetes.io/docs/setup/custom-cloud/kubespray/
- https://cloud.google.com/kubernetes-engine/
- https://aws.amazon.com/kubernetes/
- https://www.digitalocean.com/products/kubernetes/
- https://azure.microsoft.com/en-au/services/kubernetes-service/
- https://www.openstack.org/assets/containers/openstack-containers-12.4.pdf
- https://github.com/infraly/k8s-on-openstack
- etc.
Domain-Driven Design¶
Domain-Driven Design (DDD) is about finding ways to split a large application into logical components which could be implemented by microservices running in Docker containers.
- https://stackoverflow.com/a/1222488
- https://medium.com/the-coding-matrix/ddd-101-the-5-minute-tour-7a3037cf53b8
- https://www.thoughtworks.com/insights/blog/domain-driven-design-services-architecture
- https://techbeacon.com/app-dev-testing/get-your-feet-wet-domain-driven-design-3-guiding-principles
- https://www.mirkosertic.de/blog/2013/04/domain-driven-design-example/
- etc.