Модуль репутации
This commit is contained in:
+9
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user