From 49188b8fbbb20fe2ab77b654431ce6091251eff6 Mon Sep 17 00:00:00 2001 From: ImanThiyanga Date: Thu, 9 Jul 2026 10:04:14 +0530 Subject: [PATCH] first changes --- .gitignore | 3 +-- Backend/ERPCore/appsettings.Development.json | 14 ++++++++++++++ Backend/ERPCore/appsettings.Production.json | 8 ++++++++ 3 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 Backend/ERPCore/appsettings.Development.json create mode 100644 Backend/ERPCore/appsettings.Production.json 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": "" + } +}