This project showcases an advanced Order Service built using Domain-Driven Design (DDD), Test-Driven Design (TDD) principles, and an event-driven architecture.
- Redis caching
- External Events publisher to RabbitMQ
- Python
- FastAPI
- RabbitMQ
- PostgreSQL
- Redis
- Docker
envs/
src/
├─ core/ # settings and other configurations
├─ features/
│ ├─ allocation/
│ │ ├─ api/ # command (write) service
│ │ ├─ views/ # query (read) service
│ │ ├─ service_layer/ # message bus and handlers
│ │ ├─ domain/ # business logic
│ │ ├─ infrastructure/ # db, email and other adapters.
├─ main.py
tests/
├─ e2e/
├─ integration/
├─ unit/
This project utilizes Docker Compose to run the application.
docker-compose up -d
This project is licensed under the terms of the MIT license.