This is a python 🐍 API built with fastAPI ⚡️ to management clients 👤, subscriptions
ℝender 📄 [development environment]: https://python-customer-api.onrender.com/
The source code is organized by business context. Each context separates its application logic, domain model, and infrastructure adapters.
src/
├── api/
│ └── router.py # Aggregates routers from each context
├── core/
│ ├── config.py # Application configuration
│ └── dependencies.py # Dependency injection and persistence wiring
├── customer/
│ ├── application/
│ │ ├── dto/
│ │ ├── mapper/
│ │ └── ports/
│ │ └── input/
│ ├── domain/
│ │ ├── model/
│ │ └── repositories/
│ └── infrastructure/
│ ├── adapters/
│ │ └── inbound/
│ │ └── http/
│ │ └── router.py
│ └── repositories/
├── invoice/
│ ├── application/
│ │ ├── dto/
│ │ ├── mapper/
│ │ └── ports/
│ │ ├── input/
│ │ └── output/
│ ├── domain/
│ │ └── model/
│ └── infrastructure/
│ └── adapters/
│ ├── inbound/
│ │ └── http/
│ │ └── router.py
│ └── transaction_lookup_adapter.py
├── transaction/
│ ├── application/
│ │ ├── dto/
│ │ ├── mapper/
│ │ └── ports/
│ │ └── input/
│ ├── domain/
│ │ └── model/
│ └── infrastructure/
│ └── adapters/
│ └── inbound/
│ └── http/
│ └── router.py
└── main.py # Creates the FastAPI application