From 5cc6a9a7856ca026c41366c905169b68cc6c1ec2 Mon Sep 17 00:00:00 2001 From: underdorff18 Date: Sun, 20 Nov 2022 18:59:04 -0500 Subject: [PATCH] Update roadmap in readme --- README.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3beb34d..4f7e744 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,17 @@ # Computers-Site-Backend The backend (node and express) portion of the updated computers site -TODO: add file validation into readInventoryFile() return {} or 0 (something idk) -then in each of the watcher functions, write result of readInventoryFile to a variable, check to make sure it is -not the known bad value. Current plan is to flesh out this system, and then move on to the refactor. Flesh out means: make sure crud options are all available and working, add data validation options --make sure no two items with same serial, make sure database accurately reflects files in case error happens +-make sure no two items with same serial, make sure database accurately reflects files in case there are any errors + +-Added feature to update database when a file is changed +-Added validation to inventorywatcher and readInventoryFile + +Need: +-check for duplicate serial numbers +-option in dbtools to run a full check on the data to make sure it matches the database +--this should probably run as soon as file watcher is started, and at regular intervals +