Reset archi

This commit is contained in:
blyssco 2026-02-16 14:48:20 +01:00
parent 706ecb45a0
commit 001a3895b7
6 changed files with 23 additions and 13 deletions

View File

@ -0,0 +1,7 @@
{
"Logto": {
"Endpoint": "https://en7hny.logto.app/",
"AppId": "n863z6tazsbjtn8b113x7",
"AppSecret": "1J4FpfWaEzPsGKALpBnhT5dqoYY19Bta"
}
}

View File

@ -1,11 +1,6 @@
using chat.API.Extensions;
var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
builder.Services.AddControllers();
// Learn more about configuring OpenAPI at https://aka.ms/aspnet/openapi
builder.Services.AddOpenApi();
var app = builder.Build();
// Configure the HTTP request pipeline.
@ -16,6 +11,7 @@ if (app.Environment.IsDevelopment())
app.UseHttpsRedirection();
app.UseAuthentication();
app.UseAuthorization();
app.MapControllers();

View File

@ -4,5 +4,6 @@
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
}
},
"AllowedHosts": "*"
}

View File

@ -10,4 +10,8 @@
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="10.0.1" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\chat.Infrastructure\chat.Infrastructure.csproj" />
</ItemGroup>
</Project>

View File

@ -1,6 +0,0 @@
@chat.API_HostAddress = http://localhost:5297
GET {{chat.API_HostAddress}}/weatherforecast/
Accept: application/json
###

View File

@ -6,4 +6,12 @@
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="10.0.2" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\chat.Domain\chat.Domain.csproj" />
</ItemGroup>
</Project>