Модуль репутации

This commit is contained in:
Халимов Рустам
2026-02-12 16:11:14 +03:00
parent d6c1f63842
commit 46f008aefa
38 changed files with 1959 additions and 4 deletions
+9 -1
View File
@@ -12,6 +12,8 @@ using Nashel.Modules.Order.Infrastructure;
using Nashel.Modules.Order.Presentation;
using Nashel.Modules.Collaboration.Infrastructure;
using Nashel.Modules.Collaboration.Presentation;
using Nashel.Modules.Reputation.Infrastructure;
using Nashel.Modules.Reputation.Presentation;
var builder = WebApplication.CreateBuilder(args);
@@ -62,10 +64,15 @@ builder.Services.AddCatalogModule(builder.Configuration);
// Регистрация модуля Geo
builder.Services.AddGeoModule(builder.Configuration);
// Регистрация модуля Order
// Регистрация модуля Collaboartion
builder.Services.AddCollaborationModule(builder.Configuration);
// Регистрация модуля Order
builder.Services.AddOrderModule(builder.Configuration);
// Регистрация модуля Reputation
builder.Services.AddReputationModule(builder.Configuration);
// Настройка аутентификации
builder.Services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme)
.AddJwtBearer(options =>
@@ -106,5 +113,6 @@ app.MapCatalogEndpoints();
app.MapGeoEndpoints();
app.MapOrderEndpoints();
app.MapCollaborationEndpoints();
app.MapReputationEndpoints();
app.Run();