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