/Customers-microservice

Implements Microservice and Event Sourcing in .net 5

Primary LanguageC#

Implements Microservice and Event Sourcing in .net 5

Autamation Build & Deploy :

.NET Build and  Run  Tests

CustomerApp - Build and Push to DockerHub

OrderApp - Build and Push to DockerHub

api - Build and Push to DockerHub

Deploy  to Liara --- > this clouad Service is not stable

Technologies

Langauge C#
Framework .Net5
validation FluentValidation
Mapping Mapster
Sync Communication Model First Grpc
Async Communication (MessageBroker) Kafka
Storage EvnetStoreDb
Container Docker
UnitTest NUnit
integrationTest Xunit,Microsoft.AspNetCore.Mvc.Testing
CI CD GitHub Actions

How to Run

Note: Enusre your Docker is Update To Date .

Run the following command to setup whole Applications and dependencies (Run in the folder where the Docker-compose file is located)

docker-compose up 

Monitoring/Dashbords :

kafka http://localhost:9000/
EventStoreDb http://localhost:2113/
Api/Swagger http://localhost:4835/swagger/index.html
OrderServiceApp http://localhost:10043 (not reachable at the browser)
CustomerServiceApp http://localhost:4835 (not reachable at the browser)

WorkFlow :

WorkFlow