Skip to content

About

This is a python 🐍 API built with fastAPI ⚑️ to management clients πŸ‘€, subscriptions

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

30 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Description

This is a python 🐍 API built with fastAPI ⚑️ to management clients πŸ‘€, subscriptions

Github GitlabCI TravisCI

Made with

Python FastAPI

Project link πŸ”—

ℝender πŸ“„ [development environment]: https://python-customer-api.onrender.com/

Project Structure

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

About

This is a python 🐍 API built with fastAPI ⚑️ to management clients πŸ‘€, subscriptions

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages