UDT-001: Login (scaffolding + JWT RS256 end-to-end) #1

Merged
dmolinari merged 14 commits from feature/UDT-001 into main 2026-04-14 14:44:28 +00:00
3 changed files with 79 additions and 0 deletions
Showing only changes of commit c666729685 - Show all commits

35
.gitignore vendored
View File

@@ -29,6 +29,41 @@ yarn-error.log*
#.env.production.local
# ----------------------------------------------------------------------------
# ## .NET Build Artifacts ##
# ----------------------------------------------------------------------------
[Bb]in/
[Oo]bj/
*.user
*.suo
*.userosscache
*.sln.docstates
.vs/
TestResults/
*.trx
*.coverage
*.coveragexml
# ----------------------------------------------------------------------------
# ## JWT / Security Keys ##
# ----------------------------------------------------------------------------
src/api/SIGCM2.Api/keys/*.pem
# ----------------------------------------------------------------------------
# ## ASP.NET Core local secrets ##
# ----------------------------------------------------------------------------
src/api/SIGCM2.Api/appsettings.Development.json
src/api/SIGCM2.Api/appsettings.Test.json
tests/SIGCM2.Api.Tests/appsettings.Test.json
tests/SIGCM2.Application.Tests/appsettings.Test.json
# ----------------------------------------------------------------------------
# ## Frontend Build Artifacts ##
# ----------------------------------------------------------------------------
src/web/dist/
src/web/node_modules/
src/web/.vite/
# ----------------------------------------------------------------------------
# ## Documentación ##
# ----------------------------------------------------------------------------

30
Directory.Packages.props Normal file
View File

@@ -0,0 +1,30 @@
<Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<!-- Production dependencies -->
<ItemGroup>
<PackageVersion Include="Dapper" Version="2.1.35" />
<PackageVersion Include="Microsoft.AspNetCore.OpenApi" Version="10.0.5" />
<PackageVersion Include="Microsoft.Data.SqlClient" Version="5.2.2" />
<PackageVersion Include="BCrypt.Net-Next" Version="4.0.3" />
<PackageVersion Include="FluentValidation.AspNetCore" Version="11.3.0" />
<PackageVersion Include="Serilog.AspNetCore" Version="8.0.3" />
<PackageVersion Include="Serilog.Sinks.Seq" Version="8.0.0" />
<PackageVersion Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="10.0.0-preview.3.25172.1" />
<PackageVersion Include="Scalar.AspNetCore" Version="2.5.6" />
<PackageVersion Include="System.IdentityModel.Tokens.Jwt" Version="8.9.0" />
<PackageVersion Include="Microsoft.IdentityModel.Tokens" Version="8.9.0" />
</ItemGroup>
<!-- Test dependencies -->
<ItemGroup>
<PackageVersion Include="xunit" Version="2.9.3" />
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.4" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
<PackageVersion Include="NSubstitute" Version="5.3.0" />
<PackageVersion Include="FluentAssertions" Version="6.12.2" />
<PackageVersion Include="Microsoft.AspNetCore.Mvc.Testing" Version="10.0.0-preview.3.25172.1" />
<PackageVersion Include="Respawn" Version="6.2.1" />
<PackageVersion Include="coverlet.collector" Version="6.0.4" />
</ItemGroup>
</Project>

14
SIGCM2.slnx Normal file
View File

@@ -0,0 +1,14 @@
<Solution>
<Folder Name="/src/" />
<Folder Name="/src/api/">
<Project Path="src/api/SIGCM2.Api/SIGCM2.Api.csproj" />
<Project Path="src/api/SIGCM2.Application/SIGCM2.Application.csproj" />
<Project Path="src/api/SIGCM2.Domain/SIGCM2.Domain.csproj" />
<Project Path="src/api/SIGCM2.Infrastructure/SIGCM2.Infrastructure.csproj" />
</Folder>
<Folder Name="/tests/">
<Project Path="tests/SIGCM2.Api.Tests/SIGCM2.Api.Tests.csproj" />
<Project Path="tests/SIGCM2.Application.Tests/SIGCM2.Application.Tests.csproj" />
<Project Path="tests/SIGCM2.TestSupport/SIGCM2.TestSupport.csproj" />
</Folder>
</Solution>