PhoneDirectory

This project micro service implementation for person and report domains. The ddd approach has been tried to be taken as an example.

Requirements

  • .NET 5 - .NET 6
  • .PostgreSql
  • .Docker
  • .RabbitMq

How to run

Easily run 'RabbitMq' on docker container

docker run -d -it --rm --name rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq:3.9-management

Solution properties and multiple startup project Directory api, Report api and Gateway api image

or you can use cmd for every service dotnet run

Gateway api = http://localhost:5000/swagger/index.html
Report api = http://localhost:5001/swagger/index.html
Directory api = http://localhost:5002/swagger/index.html

Gateway

Created gateway with ocelot and i use MMLib.SwaggerForOcelot so you can manage your microservices from gateway's swagger screen easily..You can see the endpoints below from gateway

GatewaySwaggerPhone

Equipments

  • RabbitMq
  • EFCore
  • AutoMapper
  • Ocelot
  • MMlib.SwaggerForOcelot
  • MMlib.Ocelot.Provider.AppConfiguration
  • Swagger