├── .gitignore ├── CQRSMeetup ├── CQRSMeetup.Core │ ├── CQRSMeetup.Core.csproj │ ├── Enums │ │ ├── EventTypes.cs │ │ ├── RecordStatuses.cs │ │ └── StockStatuses.cs │ ├── Mapper │ │ ├── AutoMapperProfile.cs │ │ └── IMapping.cs │ ├── Models │ │ ├── RabbitMqConfigModel.cs │ │ └── RedisConfigModel.cs │ ├── RabbitMq │ │ ├── IRabbitMqService.cs │ │ └── RabbitMqService.cs │ ├── Redis │ │ ├── IRedisService.cs │ │ └── RedisService.cs │ └── Swagger │ │ ├── ConfigureSwaggerOptions.cs │ │ └── SwaggerDefaultValues.cs ├── CQRSMeetup.ProjectionConsumer │ ├── CQRSMeetup.ProjectionConsumer.csproj │ ├── Consumer.cs │ ├── Program.cs │ └── appsettings.json ├── CQRSMeetup.ReadApi │ ├── CQRSMeetup.ReadApi.csproj │ ├── Controllers │ │ └── StockController.cs │ ├── Features │ │ └── Stock │ │ │ ├── Models │ │ │ └── StockResponseModel.cs │ │ │ └── Queries │ │ │ ├── GetStockQuery.cs │ │ │ └── GetStocksQuery.cs │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── Startup.cs │ ├── appsettings.Development.json │ └── appsettings.json ├── CQRSMeetup.ReadDomain │ ├── CQRSMeetup.ReadDomain.csproj │ └── StockModel.cs ├── CQRSMeetup.WriteApi │ ├── CQRSMeetup.WriteApi.csproj │ ├── Controllers │ │ └── StockController.cs │ ├── Features │ │ └── Stock │ │ │ ├── Commands │ │ │ ├── ChangeStockStatusCommand.cs │ │ │ ├── EntryProductCommand.cs │ │ │ └── SaleProductCommand.cs │ │ │ ├── Models │ │ │ └── BaseResponseModel.cs │ │ │ └── Validators │ │ │ ├── ChangeStockStatusValidator.cs │ │ │ ├── EntryProductValidator.cs │ │ │ └── SaleProductValidator.cs │ ├── Infrastructures │ │ └── Database │ │ │ ├── CQRSMeetupDbContext.cs │ │ │ ├── Repository.cs │ │ │ └── SeedDataGenerator.cs │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── Startup.cs │ ├── appsettings.Development.json │ └── appsettings.json ├── CQRSMeetup.WriteDomain │ ├── BaseEntity.cs │ ├── CQRSMeetup.WriteDomain.csproj │ ├── LocationEntity.cs │ ├── ProductEntity.cs │ └── StockEntity.cs └── CQRSMeetup.sln ├── LICENSE ├── README.md └── docker-compose.yml /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/.gitignore -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.Core/CQRSMeetup.Core.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.Core/CQRSMeetup.Core.csproj -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.Core/Enums/EventTypes.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.Core/Enums/EventTypes.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.Core/Enums/RecordStatuses.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.Core/Enums/RecordStatuses.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.Core/Enums/StockStatuses.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.Core/Enums/StockStatuses.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.Core/Mapper/AutoMapperProfile.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.Core/Mapper/AutoMapperProfile.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.Core/Mapper/IMapping.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.Core/Mapper/IMapping.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.Core/Models/RabbitMqConfigModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.Core/Models/RabbitMqConfigModel.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.Core/Models/RedisConfigModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.Core/Models/RedisConfigModel.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.Core/RabbitMq/IRabbitMqService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.Core/RabbitMq/IRabbitMqService.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.Core/RabbitMq/RabbitMqService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.Core/RabbitMq/RabbitMqService.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.Core/Redis/IRedisService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.Core/Redis/IRedisService.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.Core/Redis/RedisService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.Core/Redis/RedisService.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.Core/Swagger/ConfigureSwaggerOptions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.Core/Swagger/ConfigureSwaggerOptions.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.Core/Swagger/SwaggerDefaultValues.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.Core/Swagger/SwaggerDefaultValues.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.ProjectionConsumer/CQRSMeetup.ProjectionConsumer.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.ProjectionConsumer/CQRSMeetup.ProjectionConsumer.csproj -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.ProjectionConsumer/Consumer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.ProjectionConsumer/Consumer.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.ProjectionConsumer/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.ProjectionConsumer/Program.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.ProjectionConsumer/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.ProjectionConsumer/appsettings.json -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.ReadApi/CQRSMeetup.ReadApi.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.ReadApi/CQRSMeetup.ReadApi.csproj -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.ReadApi/Controllers/StockController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.ReadApi/Controllers/StockController.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.ReadApi/Features/Stock/Models/StockResponseModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.ReadApi/Features/Stock/Models/StockResponseModel.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.ReadApi/Features/Stock/Queries/GetStockQuery.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.ReadApi/Features/Stock/Queries/GetStockQuery.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.ReadApi/Features/Stock/Queries/GetStocksQuery.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.ReadApi/Features/Stock/Queries/GetStocksQuery.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.ReadApi/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.ReadApi/Program.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.ReadApi/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.ReadApi/Properties/launchSettings.json -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.ReadApi/Startup.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.ReadApi/Startup.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.ReadApi/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.ReadApi/appsettings.Development.json -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.ReadApi/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.ReadApi/appsettings.json -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.ReadDomain/CQRSMeetup.ReadDomain.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.ReadDomain/CQRSMeetup.ReadDomain.csproj -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.ReadDomain/StockModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.ReadDomain/StockModel.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.WriteApi/CQRSMeetup.WriteApi.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.WriteApi/CQRSMeetup.WriteApi.csproj -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.WriteApi/Controllers/StockController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.WriteApi/Controllers/StockController.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.WriteApi/Features/Stock/Commands/ChangeStockStatusCommand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.WriteApi/Features/Stock/Commands/ChangeStockStatusCommand.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.WriteApi/Features/Stock/Commands/EntryProductCommand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.WriteApi/Features/Stock/Commands/EntryProductCommand.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.WriteApi/Features/Stock/Commands/SaleProductCommand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.WriteApi/Features/Stock/Commands/SaleProductCommand.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.WriteApi/Features/Stock/Models/BaseResponseModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.WriteApi/Features/Stock/Models/BaseResponseModel.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.WriteApi/Features/Stock/Validators/ChangeStockStatusValidator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.WriteApi/Features/Stock/Validators/ChangeStockStatusValidator.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.WriteApi/Features/Stock/Validators/EntryProductValidator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.WriteApi/Features/Stock/Validators/EntryProductValidator.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.WriteApi/Features/Stock/Validators/SaleProductValidator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.WriteApi/Features/Stock/Validators/SaleProductValidator.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.WriteApi/Infrastructures/Database/CQRSMeetupDbContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.WriteApi/Infrastructures/Database/CQRSMeetupDbContext.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.WriteApi/Infrastructures/Database/Repository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.WriteApi/Infrastructures/Database/Repository.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.WriteApi/Infrastructures/Database/SeedDataGenerator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.WriteApi/Infrastructures/Database/SeedDataGenerator.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.WriteApi/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.WriteApi/Program.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.WriteApi/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.WriteApi/Properties/launchSettings.json -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.WriteApi/Startup.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.WriteApi/Startup.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.WriteApi/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.WriteApi/appsettings.Development.json -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.WriteApi/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.WriteApi/appsettings.json -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.WriteDomain/BaseEntity.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.WriteDomain/BaseEntity.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.WriteDomain/CQRSMeetup.WriteDomain.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.WriteDomain/CQRSMeetup.WriteDomain.csproj -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.WriteDomain/LocationEntity.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.WriteDomain/LocationEntity.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.WriteDomain/ProductEntity.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.WriteDomain/ProductEntity.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.WriteDomain/StockEntity.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.WriteDomain/StockEntity.cs -------------------------------------------------------------------------------- /CQRSMeetup/CQRSMeetup.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/CQRSMeetup/CQRSMeetup.sln -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/README.md -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BerkEmreCabuk/cqrs-meetup-2021/HEAD/docker-compose.yml --------------------------------------------------------------------------------