-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Readme to match current setup.
- Loading branch information
1 parent
ad3ffb0
commit 89bdf8a
Showing
1 changed file
with
7 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |