파이썬으로 살펴보는 아키텍처 패턴을 읽고 실습한 레포지토리
실습 내용은 cosmicpython에서 확인하실 수 있습니다.
python -m venv .venv && source .venv/bin/activate
pip install pytest
pip install requirements.txt
pip install -e src/
- pytest --tb=short 에서 tb는 traceback을 의미한다. 여기서 사용한 short은 짧은 traceback 포맷을 사용하겠다는 의미이다.
- entr: https://github.com/eradman/entr
docker-compose up -d
- mailhog: 이메일 전송 테스트 도구
- postgres: 데이터베이스
- redis: 메시지 브로커
- 1. Domain Modeling
- 2. Repository Pattern
- 3. A Brief Interlude: On Coupling and Abstractions
- 4. Our First Use Case: Flask API and Service Layer
- 5. TDD in High Gear and Low Gear
- 6. Unit of Work Pattern
- 7. Aggregates and Consistency Boundaries
- 8. Events and the Message Bus
- 9. Going to Town on the Message Bus
- 10. Commands and Command Handler
- 11. Event-Driven Architecture: Using Events to Integrate Microservices
- 12. Command-Query Responsibility Segregation (CQRS)
- 13. Dependency Injection (and Bootstrapping)