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
|