{"repo":"gustavovalle23/django-clean-architecture-approach","free":true,"listed":false,"github":"https://github.com/gustavovalle23/django-clean-architecture-approach","clone":"git clone https://github.com/gustavovalle23/django-clean-architecture-approach.git","description":"Django Clean Architecture Approach","language":"Python","stars":17,"topics":["fastapi","python","docker","docker-compose","clean-architecture","django","microservice","grafana","grpc","prometheus"],"license":null,"category":"deployment-docker-iac","readme_excerpt":"Django Clean Architecture Approach A reference project demonstrating Clean Architecture with Django: domain-driven design, use cases, and clear separation between domain, application, and infrastructure layers. Goal This project aims to: - Show a practical Clean Architecture applied to Django: domain entities, application use cases, and infrastructure (repositories, Django ORM) kept in separate layers. - Combine multiple interfaces : REST (Django REST Framework), gRPC (django-grpc-framework), with optional FastAPI in the future. - Provide a production-style setup : PostgreSQL, Kafka (Redpanda), Schema Registry, Prometheus, and Grafana for observability. It serves as a template for building maintainable, testable Django services where business logic lives in the domain and application layers, independent of web and database details. Technologies Category Stack ---------------- --------------------------------- Framework Django 4.2 LTS, Django REST Framework API REST, gRPC (django-grpc-framework) Database PostgreSQL Messaging Kafka (Redpanda), Schema Registry Observability Prometheus, Grafana Testing pytest, pytest-django, freezegun Code quality black, flake8, mypy, pre-commit Planned: FastAPI, Express/NestJS (optional). --- Prerequisites - Docker and Docker Compose - Task (optional but recommended for run/build/stop commands) - Python 3.10+ (for running tests locally) How to Run Using Task (recommended) From the project root: Services: - Product API (Django) : http://localhost","default_branch":null,"files":null,"tree":[],"storefront":"/r/gustavovalle23","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gustavovalle23/django-clean-architecture-approach/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}