From 597602ad2cb7157f2eab4099c6ba34cbc3b024bc Mon Sep 17 00:00:00 2001 From: Reimar Date: Wed, 9 Apr 2025 10:24:48 +0200 Subject: [PATCH] Add appsettings example file --- README.md | 2 +- backend/Api/appsettings.example.json | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 backend/Api/appsettings.example.json diff --git a/README.md b/README.md index 711a71d..62af17d 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ ## Setup -In the `backend` folder, copy `appsettings.example.json` into `appsettings.json` and fill out the values. +In the `backend/Api` folder, copy `appsettings.example.json` into `appsettings.json` and fill out the values. In the `frontend` folder, copy `shared/constants.example.js` into `shared/constants.js` and fill out the values. diff --git a/backend/Api/appsettings.example.json b/backend/Api/appsettings.example.json new file mode 100644 index 0000000..c3763aa --- /dev/null +++ b/backend/Api/appsettings.example.json @@ -0,0 +1,20 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + }, + "AllowedHosts": "*", + + "ConnectionStrings": { + "Database": "Data Source=database.sqlite3" + }, + + "JwtSettings": { + "Issuer": "TemperatureAlarmApi", + "Audience": "Customers", + "Key": "" + } +} +