Search code examples
djangodjango-rest-frameworkmicroservices

Django -does apps in django called as micro services?


I'm just learning about microservices and just want to know does django have inbuild microservices ? or the apps/modules which we have inside the django project is said to be microservices?

here I have attached project structure where I have more than 4 apps/modules(basket,payments,store,orders) were there. Is these apps are microservices in django?


Solution

  • Each services in MSA usually have their own databases. If your 4 of apps/modules share same database, then their dependencies are strong and it can be said as monlithic architecture(with such as foreign key relation constraint in django model).