Skip to content

Commit

Permalink
Update Readme to match current setup.
Browse files Browse the repository at this point in the history
  • Loading branch information
underdorff18 authored Jul 24, 2023
1 parent ad3ffb0 commit 89bdf8a
Showing 1 changed file with 7 additions and 16 deletions.
23 changes: 7 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
# Computers-Site-Backend
The backend (node and express) portion of the updated computers site
#Used-Computers-Site
A full stack webpage for used computers.

This application consists of two distinct parts.

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 there are any errors
Excel Reader:
This application converts excel-based inventory files into entries in a local mongodb database. It watches the inventory folder for changes and updates the database as necessary.

-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
-error checking and logging in dbtools: while it is not likely that errors would be received there because of other error checking, it's still necessary for possible issues.

Next steps:
Once error handling and validation is in place the excel reader / file watcher side will be complete. Then the focus becomes the web server. Front end work needs done to have pages to display, and then the web server should be refined: 404 page, routing, following best practices, etc.
Webserver (node and express):
This piece is a standard webserver. It connects to the local mongodb database to get a list of computers that can be displayed on the frontend.

0 comments on commit 89bdf8a

Please sign in to comment.