Add WmsLite monorepo with JWT auth, tenant context, and project READMEs.

Implement API security baseline (sys_user, JWT, audit fields, transactions,
unique constraints) and Web real login with 401 handling. Document setup
and development workflows in root, WmsLite.Api, and WmsLite.Web README files.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zhougfandCursor committed 2026-05-24 14:17:47 +08:00
commit fa1b286463
241 files changed
+31188

No files matched your search

+34
View File
@@ -0,0 +1,34 @@
{
"ConnectionStrings": {
"PostgreSql": "Host=127.0.0.1;Port=5432;Database=wmslite;Username=postgres;Password=YOUR_PASSWORD"
},
"Jwt": {
"Issuer": "WmsLite",
"Audience": "WmsLite.Web",
"Key": "WmsLite-Dev-Jwt-Signing-Key-Change-In-Production-32chars-min",
"ExpiresMinutes": 480
},
"Database": {
"CodeFirst": {
"Enabled": false
},
"Migrations": {
"Enabled": true,
"ConnectionStringName": "PostgreSql"
}
},
"HttpLogging": {
"Enabled": true,
"PersistToDatabase": true,
"PathsOmittingResponseBody": [ "paged-list", "pagedlist" ],
"PathsOmittingRequestBody": [ "/api/Auth/login" ],
"SensitiveFieldNames": [ "password", "token", "authorization", "accessToken", "refreshToken" ]
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning",
"WmsLite.Api.Infrastructure.HttpLogging.HttpRequestResponseLoggingMiddleware": "Information"
}
}
}