From bc115707171842da022adf129438c2f77d567c7a Mon Sep 17 00:00:00 2001 From: Rory& Date: Tue, 3 Jun 2025 10:52:33 +0200 Subject: Nix cleanup, fix plan --- flake.nix | 4 +--- plan.md | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index fa834f8..211b64b 100644 --- a/flake.nix +++ b/flake.nix @@ -99,17 +99,15 @@ default = 3000; description = "The port on which the SafeNSound service will listen."; }; - logRequests = lib.mkEnableOption "Log requests"; dbCredentialsPath = lib.mkOption { type = lib.types.path; - default = "mongodb-pass"; description = "Path to the database credentials file."; }; jwtSecretPath = lib.mkOption { type = lib.types.path; - default = "."; description = "Path to the JWT secret directory."; }; + logRequests = lib.mkEnableOption "Log requests"; logQueries = lib.mkEnableOption "Log queries"; logAuth = lib.mkEnableOption "Log authentication"; }; diff --git a/plan.md b/plan.md index f1ab28b..3588bf8 100644 --- a/plan.md +++ b/plan.md @@ -4,7 +4,7 @@ - [x] Testing: both integration and unit tests - [x] Authentication & Authorization: using JWT tokens or a similar technology - [x] Error handling -- [ ] MongoDB CRUD operations and Mongoose modeling (with Joi validation) +- [x] MongoDB CRUD operations and Mongoose modeling (with Joi validation) - [ ] Complete data and input validation (including ObjectId validation) - [x] Middleware functions - [ ] A detailed deployment step-by-step plan: the application must be deployed on a cloud server and publicly accessible -- cgit 1.5.1