dotnet clean arch
1.0.0
This repository provides an implementation of the CLEAN architecture in a C# solution integrating with a weather HTTP API, integrating essential modern tools like Prometheus and Grafana for monitoring and observability.
This project follows the CLEAN architecture structure:
CleanArch.Api: The Web API layer, containing controllers, configuration, and dependency
injection setup.CleanArch.Domain: Core business logic and domain entities.CleanArch.Application: Application-specific logic and use cases.CleanArch.Infrastructure: Infrastructure code such as external service integration and data
persistence.The project uses the following libraries and tools:
The project includes a docker-compose.yml file that sets up:
The application exposes metrics at /metrics using the Prometheus.NET library.
git clone https://github.com/MatheusSw/dotnet-clean-arch.git
cd CleanArchdocker-compose up --build/weathers?location=Brasil Sao Paulo: Fetches weather information for a specific location using
WeatherStack API.