diff --git a/.gitignore b/.gitignore index e4f2245..53acf16 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,6 @@ # ── Secrets / local config ───────────────────────────────────────────── # Keep the base appsettings.json (no real secrets); ignore env-specific ones. -**/appsettings.*.json -!**/appsettings.json + .env .env.* !**/.env*.example diff --git a/Backend/ERPCore/appsettings.Development.json b/Backend/ERPCore/appsettings.Development.json new file mode 100644 index 0000000..a190287 --- /dev/null +++ b/Backend/ERPCore/appsettings.Development.json @@ -0,0 +1,14 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + }, + "ConnectionStrings": { + "DefaultConnection": "Host=localhost;Port=5432;Database=ERPCore;Username=postgres;Password=postgres" + }, + "Jwt": { + "SigningKey": "dev-only-signing-key-please-change-me-0123456789" + } +} diff --git a/Backend/ERPCore/appsettings.Production.json b/Backend/ERPCore/appsettings.Production.json new file mode 100644 index 0000000..838af85 --- /dev/null +++ b/Backend/ERPCore/appsettings.Production.json @@ -0,0 +1,8 @@ +{ + "ConnectionStrings": { + "DefaultConnection": "" + }, + "Jwt": { + "SigningKey": "" + } +}