diff --git a/app/config/config.yaml b/app/config/config.yaml
index cf51ace..0f3ff29 100644
--- a/app/config/config.yaml
+++ b/app/config/config.yaml
@@ -1,7 +1,7 @@
# All values in this config file WILL BE overwritten by ENV variables (GI_SERVER_PORT for example) if they exist.
Server:
port: 3500
- locationFilesDir: "./app/files/locations/"
+ locationFilesDir: "./app/files/"
Logger:
loglevel: "debug" # debug/info/warn/error
diff --git a/app/files/locations/Location1/Location1_1.png b/app/files/Location0/Location0_cover.png
similarity index 100%
rename from app/files/locations/Location1/Location1_1.png
rename to app/files/Location0/Location0_cover.png
diff --git a/app/files/locations/Final Test/Final Test_cover.png b/app/files/locations/Final Test/Final Test_cover.png
deleted file mode 100644
index f2c863e..0000000
Binary files a/app/files/locations/Final Test/Final Test_cover.png and /dev/null differ
diff --git a/app/files/locations/Location1/Kitchen/Kitchen_0.png b/app/files/locations/Location1/Kitchen/Kitchen_0.png
deleted file mode 100644
index 5a3863b..0000000
Binary files a/app/files/locations/Location1/Kitchen/Kitchen_0.png and /dev/null differ
diff --git a/app/files/locations/Location1/Kitchen/Kitchen_cover.png b/app/files/locations/Location1/Kitchen/Kitchen_cover.png
deleted file mode 100644
index 273ae2e..0000000
Binary files a/app/files/locations/Location1/Kitchen/Kitchen_cover.png and /dev/null differ
diff --git a/app/files/locations/Location1/Location1_0.png b/app/files/locations/Location1/Location1_0.png
deleted file mode 100644
index 87c5a8a..0000000
Binary files a/app/files/locations/Location1/Location1_0.png and /dev/null differ
diff --git a/app/files/locations/Location1/Location1_cover.png b/app/files/locations/Location1/Location1_cover.png
deleted file mode 100644
index bf50b0e..0000000
Binary files a/app/files/locations/Location1/Location1_cover.png and /dev/null differ
diff --git a/app/files/locations/Location10/Location10_cover.png b/app/files/locations/Location10/Location10_cover.png
deleted file mode 100644
index 81cd2ac..0000000
Binary files a/app/files/locations/Location10/Location10_cover.png and /dev/null differ
diff --git a/app/files/locations/Location4/Kitchen/Kitchen_0.png b/app/files/locations/Location4/Kitchen/Kitchen_0.png
deleted file mode 100644
index 5a3863b..0000000
Binary files a/app/files/locations/Location4/Kitchen/Kitchen_0.png and /dev/null differ
diff --git a/app/files/locations/Location4/Kitchen/Kitchen_cover.png b/app/files/locations/Location4/Kitchen/Kitchen_cover.png
deleted file mode 100644
index 273ae2e..0000000
Binary files a/app/files/locations/Location4/Kitchen/Kitchen_cover.png and /dev/null differ
diff --git a/app/files/locations/Location4/Location4_0.png b/app/files/locations/Location4/Location4_0.png
deleted file mode 100644
index 87c5a8a..0000000
Binary files a/app/files/locations/Location4/Location4_0.png and /dev/null differ
diff --git a/app/files/locations/Location4/Location4_1.png b/app/files/locations/Location4/Location4_1.png
deleted file mode 100644
index 81cd2ac..0000000
Binary files a/app/files/locations/Location4/Location4_1.png and /dev/null differ
diff --git a/app/files/locations/Location4/Location4_cover.png b/app/files/locations/Location4/Location4_cover.png
deleted file mode 100644
index bf50b0e..0000000
Binary files a/app/files/locations/Location4/Location4_cover.png and /dev/null differ
diff --git a/app/files/locations/Location6/Location6_0.png b/app/files/locations/Location6/Location6_0.png
deleted file mode 100644
index 87c5a8a..0000000
Binary files a/app/files/locations/Location6/Location6_0.png and /dev/null differ
diff --git a/app/files/locations/Location6/Location6_1.png b/app/files/locations/Location6/Location6_1.png
deleted file mode 100644
index 81cd2ac..0000000
Binary files a/app/files/locations/Location6/Location6_1.png and /dev/null differ
diff --git a/app/files/locations/Location6/Location6_cover.png b/app/files/locations/Location6/Location6_cover.png
deleted file mode 100644
index bf50b0e..0000000
Binary files a/app/files/locations/Location6/Location6_cover.png and /dev/null differ
diff --git a/app/files/locations/TESTasdfsdaf/TESTasdfsdaf_cover.png b/app/files/locations/TESTasdfsdaf/TESTasdfsdaf_cover.png
deleted file mode 100644
index dc581ea..0000000
Binary files a/app/files/locations/TESTasdfsdaf/TESTasdfsdaf_cover.png and /dev/null differ
diff --git a/app/log/goInventorize.log b/app/log/goInventorize.log
index aa80d52..ad6e617 100644
--- a/app/log/goInventorize.log
+++ b/app/log/goInventorize.log
@@ -1,302 +1,236 @@
-
-{"level":"debug","time":"2022-04-02T22:20:17-04:00","message":"Seach by term: Location in all items at field: Name"}
-{"level":"info","time":"2022-04-02T22:20:17-04:00","message":"Searching all items for term: Location"}
-{"level":"error","time":"2022-04-02T22:20:17-04:00","message":"Unable to search rooms in database with term: Location error: not found "}
-{"level":"error","time":"2022-04-02T22:20:17-04:00","message":"SearchAllByField failed to return results: not found "}
-{"logtype":"webserver", "pid":"19312", "requestid":"", "status":"200", "method":"GET", "path":"/api/search/all"}
-{"level":"info","time":"2022-04-02T22:21:18-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-02T22:21:18-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-02T22:21:18-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"info","time":"2022-04-02T22:22:54-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-02T22:22:54-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-02T22:22:54-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"debug","time":"2022-04-02T22:23:04-04:00","message":"Seach by term: Location in all items at field: Name"}
-{"level":"info","time":"2022-04-02T22:23:04-04:00","message":"Searching all items for term: Location"}
-{"logtype":"webserver", "pid":"7620", "requestid":"", "status":"200", "method":"GET", "path":"/api/search/all"}
-{"level":"debug","time":"2022-04-02T22:23:09-04:00","message":"Seach by term: Location4 in all items at field: Name"}
-{"level":"info","time":"2022-04-02T22:23:09-04:00","message":"Searching all items for term: Location4"}
-{"logtype":"webserver", "pid":"7620", "requestid":"", "status":"200", "method":"GET", "path":"/api/search/all"}
-{"level":"info","time":"2022-04-02T22:29:23-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-02T22:29:23-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-02T22:29:23-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"info","time":"2022-04-02T22:29:31-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-02T22:29:31-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-02T22:29:31-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"debug","time":"2022-04-02T22:29:37-04:00","message":"Seach by term: Location4 in all items at field: Name"}
-{"level":"info","time":"2022-04-02T22:29:37-04:00","message":"Searching all items for term: Location4"}
-{"logtype":"webserver", "pid":"15332", "requestid":"", "status":"200", "method":"GET", "path":"/api/search/all"}
-{"level":"info","time":"2022-04-02T22:30:28-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-02T22:30:28-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-02T22:30:28-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"info","time":"2022-04-02T22:30:34-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-02T22:30:34-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-02T22:30:34-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"debug","time":"2022-04-02T22:30:36-04:00","message":"Seach by term: Location4 in all items at field: Name"}
-{"level":"info","time":"2022-04-02T22:30:36-04:00","message":"Searching all items for term: Location4"}
-{"logtype":"webserver", "pid":"30864", "requestid":"", "status":"200", "method":"GET", "path":"/api/search/all"}
-{"level":"info","time":"2022-04-02T22:31:16-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-02T22:31:16-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-02T22:31:16-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"debug","time":"2022-04-02T22:31:22-04:00","message":"Seach by term: Location4 in all items at field: Name"}
-{"level":"info","time":"2022-04-02T22:31:22-04:00","message":"Searching all items for term: Location4"}
-{"logtype":"webserver", "pid":"8468", "requestid":"", "status":"200", "method":"GET", "path":"/api/search/all"}
-{"level":"debug","time":"2022-04-02T22:32:41-04:00","message":"Seach by term: Kitchen in all items at field: Name"}
-{"level":"info","time":"2022-04-02T22:32:41-04:00","message":"Searching all items for term: Kitchen"}
-{"logtype":"webserver", "pid":"8468", "requestid":"", "status":"200", "method":"GET", "path":"/api/search/all"}
-{"level":"info","time":"2022-04-02T22:33:39-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-02T22:33:39-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-02T22:33:39-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"info","time":"2022-04-02T22:38:47-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-02T22:38:47-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-02T22:38:47-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"info","time":"2022-04-02T22:39:03-04:00","message":"Fetching room with id: 1"}
-{"logtype":"webserver", "pid":"11448", "requestid":"", "status":"200", "method":"GET", "path":"/api/rooms/1"}
-{"level":"info","time":"2022-04-02T22:39:07-04:00","message":"Getting all Rooms"}
-{"logtype":"webserver", "pid":"11448", "requestid":"", "status":"200", "method":"GET", "path":"/api/rooms"}
-{"logtype":"webserver", "pid":"11448", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
-{"level":"debug","time":"2022-04-02T22:48:40-04:00","message":"Returning Locations: [{ID:1 Name:Location4 Description: CoverPhoto:Location4_cover.png Photos:[Location4_0.png Location4_1.png] Rooms:[{ID:0 Name:Kitchen Description: CoverPhoto:Location4/Kitchen/Kitchen_cover.png Photos:[Location4/Kitchen/Kitchen_0.png] Paint: Notes:Notes For My Room! Cabinets:[] Items:[] SquareFeet:0 LocationID:1 LocationName:Location4}] Notes:Notes for my location! Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:2 Name:Location6 Description: CoverPhoto:Location6_cover.png Photos:[Location6_0.png Location6_1.png] Rooms:[] Notes:Notes for my location!6 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:3 Name:Location10 Description: CoverPhoto:Location10_cover.png Photos:[] Rooms:[] Notes:Notes for my location!10 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:}]"}
-{"logtype":"webserver", "pid":"11448", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
-{"level":"info","time":"2022-04-02T22:48:46-04:00","message":"Fetching room with id: 1"}
-{"logtype":"webserver", "pid":"11448", "requestid":"", "status":"200", "method":"GET", "path":"/api/rooms/1"}
-{"logtype":"webserver", "pid":"11448", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations/1/rooms"}
-{"logtype":"webserver", "pid":"11448", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
-{"level":"debug","time":"2022-04-02T22:50:41-04:00","message":"Returning Locations: [{ID:1 Name:Location4 Description: CoverPhoto:Location4_cover.png Photos:[Location4_0.png Location4_1.png] Rooms:[{ID:0 Name:Kitchen Description: CoverPhoto:Location4/Kitchen/Kitchen_cover.png Photos:[Location4/Kitchen/Kitchen_0.png] Paint: Notes:Notes For My Room! Cabinets:[] Items:[] SquareFeet:0 LocationID:1 LocationName:Location4}] Notes:Notes for my location! Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:2 Name:Location6 Description: CoverPhoto:Location6_cover.png Photos:[Location6_0.png Location6_1.png] Rooms:[] Notes:Notes for my location!6 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:3 Name:Location10 Description: CoverPhoto:Location10_cover.png Photos:[] Rooms:[] Notes:Notes for my location!10 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:}]"}
-{"logtype":"webserver", "pid":"11448", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
-{"logtype":"webserver", "pid":"11448", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations/1/rooms"}
-{"logtype":"webserver", "pid":"11448", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations/1/rooms"}
-{"logtype":"webserver", "pid":"11448", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations/1/rooms"}
-{"level":"debug","time":"2022-04-02T23:03:42-04:00","message":"Returning Locations: [{ID:1 Name:Location4 Description: CoverPhoto:Location4_cover.png Photos:[Location4_0.png Location4_1.png] Rooms:[{ID:0 Name:Kitchen Description: CoverPhoto:Location4/Kitchen/Kitchen_cover.png Photos:[Location4/Kitchen/Kitchen_0.png] Paint: Notes:Notes For My Room! Cabinets:[] Items:[] SquareFeet:0 LocationID:1 LocationName:Location4}] Notes:Notes for my location! Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:2 Name:Location6 Description: CoverPhoto:Location6_cover.png Photos:[Location6_0.png Location6_1.png] Rooms:[] Notes:Notes for my location!6 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:3 Name:Location10 Description: CoverPhoto:Location10_cover.png Photos:[] Rooms:[] Notes:Notes for my location!10 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:}]"}
-{"logtype":"webserver", "pid":"11448", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
-{"logtype":"webserver", "pid":"11448", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations/1/rooms"}
-{"level":"debug","time":"2022-04-02T23:12:31-04:00","message":"Returning Locations: [{ID:1 Name:Location4 Description: CoverPhoto:Location4_cover.png Photos:[Location4_0.png Location4_1.png] Rooms:[{ID:0 Name:Kitchen Description: CoverPhoto:Location4/Kitchen/Kitchen_cover.png Photos:[Location4/Kitchen/Kitchen_0.png] Paint: Notes:Notes For My Room! Cabinets:[] Items:[] SquareFeet:0 LocationID:1 LocationName:Location4}] Notes:Notes for my location! Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:2 Name:Location6 Description: CoverPhoto:Location6_cover.png Photos:[Location6_0.png Location6_1.png] Rooms:[] Notes:Notes for my location!6 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:3 Name:Location10 Description: CoverPhoto:Location10_cover.png Photos:[] Rooms:[] Notes:Notes for my location!10 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:}]"}
-{"logtype":"webserver", "pid":"11448", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
-{"level":"debug","time":"2022-04-02T23:13:35-04:00","message":"Returning Locations: [{ID:1 Name:Location4 Description: CoverPhoto:Location4_cover.png Photos:[Location4_0.png Location4_1.png] Rooms:[{ID:0 Name:Kitchen Description: CoverPhoto:Location4/Kitchen/Kitchen_cover.png Photos:[Location4/Kitchen/Kitchen_0.png] Paint: Notes:Notes For My Room! Cabinets:[] Items:[] SquareFeet:0 LocationID:1 LocationName:Location4}] Notes:Notes for my location! Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:2 Name:Location6 Description: CoverPhoto:Location6_cover.png Photos:[Location6_0.png Location6_1.png] Rooms:[] Notes:Notes for my location!6 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:3 Name:Location10 Description: CoverPhoto:Location10_cover.png Photos:[] Rooms:[] Notes:Notes for my location!10 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:}]"}
-{"logtype":"webserver", "pid":"11448", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
-{"level":"debug","time":"2022-04-02T23:14:02-04:00","message":"Returning Locations: [{ID:1 Name:Location4 Description: CoverPhoto:Location4_cover.png Photos:[Location4_0.png Location4_1.png] Rooms:[{ID:0 Name:Kitchen Description: CoverPhoto:Location4/Kitchen/Kitchen_cover.png Photos:[Location4/Kitchen/Kitchen_0.png] Paint: Notes:Notes For My Room! Cabinets:[] Items:[] SquareFeet:0 LocationID:1 LocationName:Location4}] Notes:Notes for my location! Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:2 Name:Location6 Description: CoverPhoto:Location6_cover.png Photos:[Location6_0.png Location6_1.png] Rooms:[] Notes:Notes for my location!6 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:3 Name:Location10 Description: CoverPhoto:Location10_cover.png Photos:[] Rooms:[] Notes:Notes for my location!10 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:}]"}
-{"logtype":"webserver", "pid":"11448", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
-{"level":"debug","time":"2022-04-02T23:14:15-04:00","message":"Returning Locations: [{ID:1 Name:Location4 Description: CoverPhoto:Location4_cover.png Photos:[Location4_0.png Location4_1.png] Rooms:[{ID:0 Name:Kitchen Description: CoverPhoto:Location4/Kitchen/Kitchen_cover.png Photos:[Location4/Kitchen/Kitchen_0.png] Paint: Notes:Notes For My Room! Cabinets:[] Items:[] SquareFeet:0 LocationID:1 LocationName:Location4}] Notes:Notes for my location! Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:2 Name:Location6 Description: CoverPhoto:Location6_cover.png Photos:[Location6_0.png Location6_1.png] Rooms:[] Notes:Notes for my location!6 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:3 Name:Location10 Description: CoverPhoto:Location10_cover.png Photos:[] Rooms:[] Notes:Notes for my location!10 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:}]"}
-{"logtype":"webserver", "pid":"11448", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
-{"level":"debug","time":"2022-04-02T23:14:39-04:00","message":"Returning Locations: [{ID:1 Name:Location4 Description: CoverPhoto:Location4_cover.png Photos:[Location4_0.png Location4_1.png] Rooms:[{ID:0 Name:Kitchen Description: CoverPhoto:Location4/Kitchen/Kitchen_cover.png Photos:[Location4/Kitchen/Kitchen_0.png] Paint: Notes:Notes For My Room! Cabinets:[] Items:[] SquareFeet:0 LocationID:1 LocationName:Location4}] Notes:Notes for my location! Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:2 Name:Location6 Description: CoverPhoto:Location6_cover.png Photos:[Location6_0.png Location6_1.png] Rooms:[] Notes:Notes for my location!6 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:3 Name:Location10 Description: CoverPhoto:Location10_cover.png Photos:[] Rooms:[] Notes:Notes for my location!10 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:}]"}
-{"logtype":"webserver", "pid":"11448", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
-{"level":"info","time":"2022-04-03T16:13:11-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-03T16:13:11-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-03T16:13:11-04:00","message":"Database and Config loaded, starting webserver..."}
-{"logtype":"webserver", "pid":"8168", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
-{"logtype":"webserver", "pid":"8168", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
-{"level":"debug","time":"2022-04-03T16:17:29-04:00","message":"Returning Locations: [{ID:1 Name:Location4 Description: CoverPhoto:Location4_cover.png Photos:[Location4_0.png Location4_1.png] Rooms:[{ID:0 Name:Kitchen Description: CoverPhoto:Location4/Kitchen/Kitchen_cover.png Photos:[Location4/Kitchen/Kitchen_0.png] Paint: Notes:Notes For My Room! Cabinets:[] Items:[] SquareFeet:0 LocationID:1 LocationName:Location4}] Notes:Notes for my location! Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:2 Name:Location6 Description: CoverPhoto:Location6_cover.png Photos:[Location6_0.png Location6_1.png] Rooms:[] Notes:Notes for my location!6 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:3 Name:Location10 Description: CoverPhoto:Location10_cover.png Photos:[] Rooms:[] Notes:Notes for my location!10 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:}]"}
-{"logtype":"webserver", "pid":"8168", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
-{"logtype":"webserver", "pid":"8168", "requestid":"", "status":"304", "method":"GET", "path":"/photos/locations/Location6/Location6_cover.png"}
-{"logtype":"webserver", "pid":"8168", "requestid":"", "status":"304", "method":"GET", "path":"/photos/locations/Location10/Location10_cover.png"}
-{"level":"debug","time":"2022-04-03T16:17:44-04:00","message":"Returning Locations: [{ID:1 Name:Location4 Description: CoverPhoto:Location4_cover.png Photos:[Location4_0.png Location4_1.png] Rooms:[{ID:0 Name:Kitchen Description: CoverPhoto:Location4/Kitchen/Kitchen_cover.png Photos:[Location4/Kitchen/Kitchen_0.png] Paint: Notes:Notes For My Room! Cabinets:[] Items:[] SquareFeet:0 LocationID:1 LocationName:Location4}] Notes:Notes for my location! Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:2 Name:Location6 Description: CoverPhoto:Location6_cover.png Photos:[Location6_0.png Location6_1.png] Rooms:[] Notes:Notes for my location!6 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:3 Name:Location10 Description: CoverPhoto:Location10_cover.png Photos:[] Rooms:[] Notes:Notes for my location!10 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:}]"}
-{"logtype":"webserver", "pid":"8168", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
-{"level":"info","time":"2022-04-03T16:18:06-04:00","message":"Getting all Rooms"}
-{"logtype":"webserver", "pid":"8168", "requestid":"", "status":"200", "method":"GET", "path":"/api/rooms"}
-{"logtype":"webserver", "pid":"8168", "requestid":"", "status":"304", "method":"GET", "path":"/photos/locations/Location4/Kitchen/Kitchen_cover.png"}
-{"level":"debug","time":"2022-04-03T16:18:08-04:00","message":"Returning Locations: [{ID:1 Name:Location4 Description: CoverPhoto:Location4_cover.png Photos:[Location4_0.png Location4_1.png] Rooms:[{ID:0 Name:Kitchen Description: CoverPhoto:Location4/Kitchen/Kitchen_cover.png Photos:[Location4/Kitchen/Kitchen_0.png] Paint: Notes:Notes For My Room! Cabinets:[] Items:[] SquareFeet:0 LocationID:1 LocationName:Location4}] Notes:Notes for my location! Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:2 Name:Location6 Description: CoverPhoto:Location6_cover.png Photos:[Location6_0.png Location6_1.png] Rooms:[] Notes:Notes for my location!6 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:3 Name:Location10 Description: CoverPhoto:Location10_cover.png Photos:[] Rooms:[] Notes:Notes for my location!10 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:}]"}
-{"logtype":"webserver", "pid":"8168", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
-{"logtype":"webserver", "pid":"8168", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
-{"level":"info","time":"2022-04-03T20:46:19-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-03T20:46:19-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-03T20:46:19-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"info","time":"2022-04-03T20:46:20-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-03T20:46:20-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-03T20:46:20-04:00","message":"Database and Config loaded, starting webserver..."}
-{"logtype":"webserver", "pid":"16808", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
-{"level":"info","time":"2022-04-03T20:52:11-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-03T20:52:11-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-03T20:52:11-04:00","message":"Database and Config loaded, starting webserver..."}
-{"logtype":"webserver", "pid":"19608", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
-{"logtype":"webserver", "pid":"19608", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
-{"level":"info","time":"2022-04-03T21:44:35-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-03T21:44:35-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-03T21:44:35-04:00","message":"Database and Config loaded, starting webserver..."}
-{"logtype":"webserver", "pid":"1812", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
-{"logtype":"webserver", "pid":"1812", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
-{"level":"info","time":"2022-04-07T16:25:58-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-07T16:25:58-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-07T16:25:58-04:00","message":"Database and Config loaded, starting webserver..."}
-{"logtype":"webserver", "pid":"23364", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
-{"logtype":"webserver", "pid":"23364", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
-{"level":"info","time":"2022-04-08T21:57:11-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-08T21:57:11-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-08T21:57:11-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"info","time":"2022-04-08T22:10:01-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-08T22:10:01-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-08T22:10:01-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"info","time":"2022-04-08T22:19:45-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-08T22:19:45-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-08T22:19:45-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"info","time":"2022-04-08T22:22:18-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-08T22:22:18-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-08T22:22:18-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"info","time":"2022-04-08T22:22:24-04:00","message":"Adding new location to database: %!(EXTRA main.Location={0 TESTasdfsdaf test 0 TESTasdfsdaf_cover.png [] [] []})"}
-{"level":"debug","time":"2022-04-08T22:22:24-04:00","message":"Adding new location: {0 TESTasdfsdaf test 0 TESTasdfsdaf_cover.png [] [] []}"}
-{"logtype":"webserver", "pid":"11084", "requestid":"", "status":"200", "method":"POST", "path":"/api/locations/new"}
-{"level":"debug","time":"2022-04-08T22:22:34-04:00","message":"Returning Locations: [{ID:1 Name:Location4 Description: Notes:Notes for my location! Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:Location4_cover.png Photos:[Location4_0.png Location4_1.png] Files:[] Rooms:[{ID:0 Name:Kitchen Description: Paint: Notes:Notes For My Room! SquareFeet:0 CoverPhoto:Location4/Kitchen/Kitchen_cover.png Photos:[Location4/Kitchen/Kitchen_0.png] Cabinets:[] Items:[] LocationID:1 LocationName:Location4}]} {ID:2 Name:Location6 Description: Notes:Notes for my location!6 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:Location6_cover.png Photos:[Location6_0.png Location6_1.png] Files:[] Rooms:[]} {ID:3 Name:Location10 Description: Notes:Notes for my location!10 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:Location10_cover.png Photos:[] Files:[] Rooms:[]} {ID:4 Name:TESTasdfsdaf Description: Notes:test Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:TESTasdfsdaf_cover.png Photos:[] Files:[] Rooms:[]}]"}
-{"logtype":"webserver", "pid":"11084", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
-{"level":"debug","time":"2022-04-08T22:22:52-04:00","message":"Returning Locations: [{ID:1 Name:Location4 Description: Notes:Notes for my location! Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:Location4_cover.png Photos:[Location4_0.png Location4_1.png] Files:[] Rooms:[{ID:0 Name:Kitchen Description: Paint: Notes:Notes For My Room! SquareFeet:0 CoverPhoto:Location4/Kitchen/Kitchen_cover.png Photos:[Location4/Kitchen/Kitchen_0.png] Cabinets:[] Items:[] LocationID:1 LocationName:Location4}]} {ID:2 Name:Location6 Description: Notes:Notes for my location!6 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:Location6_cover.png Photos:[Location6_0.png Location6_1.png] Files:[] Rooms:[]} {ID:3 Name:Location10 Description: Notes:Notes for my location!10 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:Location10_cover.png Photos:[] Files:[] Rooms:[]} {ID:4 Name:TESTasdfsdaf Description: Notes:test Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:TESTasdfsdaf_cover.png Photos:[] Files:[] Rooms:[]}]"}
-{"logtype":"webserver", "pid":"11084", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
-{"logtype":"webserver", "pid":"11084", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
-{"logtype":"webserver", "pid":"11084", "requestid":"", "status":"200", "method":"GET", "path":"/photos/locations/TESTasdfsdaf/TESTasdfsdaf_cover.png"}
-{"logtype":"webserver", "pid":"11084", "requestid":"", "status":"200", "method":"GET", "path":"/photos/locations/Location4/Location4_cover.png"}
-{"logtype":"webserver", "pid":"11084", "requestid":"", "status":"200", "method":"GET", "path":"/photos/locations/Location10/Location10_cover.png"}
-{"logtype":"webserver", "pid":"11084", "requestid":"", "status":"200", "method":"GET", "path":"/photos/locations/Location6/Location6_cover.png"}
-{"level":"debug","time":"2022-04-08T22:26:15-04:00","message":"Returning Locations: [{ID:1 Name:Location4 Description: Notes:Notes for my location! Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:Location4_cover.png Photos:[Location4_0.png Location4_1.png] Files:[] Rooms:[{ID:0 Name:Kitchen Description: Paint: Notes:Notes For My Room! SquareFeet:0 CoverPhoto:Location4/Kitchen/Kitchen_cover.png Photos:[Location4/Kitchen/Kitchen_0.png] Cabinets:[] Items:[] LocationID:1 LocationName:Location4}]} {ID:2 Name:Location6 Description: Notes:Notes for my location!6 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:Location6_cover.png Photos:[Location6_0.png Location6_1.png] Files:[] Rooms:[]} {ID:3 Name:Location10 Description: Notes:Notes for my location!10 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:Location10_cover.png Photos:[] Files:[] Rooms:[]} {ID:4 Name:TESTasdfsdaf Description: Notes:test Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:TESTasdfsdaf_cover.png Photos:[] Files:[] Rooms:[]}]"}
-{"logtype":"webserver", "pid":"11084", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
-{"logtype":"webserver", "pid":"11084", "requestid":"", "status":"304", "method":"GET", "path":"/photos/locations/TESTasdfsdaf/TESTasdfsdaf_cover.png"}
-{"level":"debug","time":"2022-04-08T22:26:18-04:00","message":"Returning Locations: [{ID:1 Name:Location4 Description: Notes:Notes for my location! Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:Location4_cover.png Photos:[Location4_0.png Location4_1.png] Files:[] Rooms:[{ID:0 Name:Kitchen Description: Paint: Notes:Notes For My Room! SquareFeet:0 CoverPhoto:Location4/Kitchen/Kitchen_cover.png Photos:[Location4/Kitchen/Kitchen_0.png] Cabinets:[] Items:[] LocationID:1 LocationName:Location4}]} {ID:2 Name:Location6 Description: Notes:Notes for my location!6 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:Location6_cover.png Photos:[Location6_0.png Location6_1.png] Files:[] Rooms:[]} {ID:3 Name:Location10 Description: Notes:Notes for my location!10 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:Location10_cover.png Photos:[] Files:[] Rooms:[]} {ID:4 Name:TESTasdfsdaf Description: Notes:test Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:TESTasdfsdaf_cover.png Photos:[] Files:[] Rooms:[]}]"}
-{"logtype":"webserver", "pid":"11084", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
-{"level":"info","time":"2022-04-08T22:27:01-04:00","message":"Adding new location to database: %!(EXTRA main.Location={0 Final Test 0 Final Test_cover.png [] [] []})"}
-{"level":"debug","time":"2022-04-08T22:27:01-04:00","message":"Adding new location: {0 Final Test 0 Final Test_cover.png [] [] []}"}
-{"logtype":"webserver", "pid":"11084", "requestid":"", "status":"200", "method":"POST", "path":"/api/locations/new"}
-{"level":"debug","time":"2022-04-08T22:27:11-04:00","message":"Returning Locations: [{ID:1 Name:Location4 Description: Notes:Notes for my location! Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:Location4_cover.png Photos:[Location4_0.png Location4_1.png] Files:[] Rooms:[{ID:0 Name:Kitchen Description: Paint: Notes:Notes For My Room! SquareFeet:0 CoverPhoto:Location4/Kitchen/Kitchen_cover.png Photos:[Location4/Kitchen/Kitchen_0.png] Cabinets:[] Items:[] LocationID:1 LocationName:Location4}]} {ID:2 Name:Location6 Description: Notes:Notes for my location!6 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:Location6_cover.png Photos:[Location6_0.png Location6_1.png] Files:[] Rooms:[]} {ID:3 Name:Location10 Description: Notes:Notes for my location!10 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:Location10_cover.png Photos:[] Files:[] Rooms:[]} {ID:4 Name:TESTasdfsdaf Description: Notes:test Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:TESTasdfsdaf_cover.png Photos:[] Files:[] Rooms:[]} {ID:5 Name:Final Test Description: Notes: Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:Final Test_cover.png Photos:[] Files:[] Rooms:[]}]"}
-{"logtype":"webserver", "pid":"11084", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
-{"logtype":"webserver", "pid":"11084", "requestid":"", "status":"200", "method":"GET", "path":"/photos/locations/Final%20Test/Final%20Test_cover.png"}
-{"logtype":"webserver", "pid":"11084", "requestid":"", "status":"304", "method":"GET", "path":"/photos/locations/TESTasdfsdaf/TESTasdfsdaf_cover.png"}
-{"level":"info","time":"2022-04-08T22:41:02-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-08T22:41:02-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-08T22:41:02-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"info","time":"2022-04-08T22:49:49-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-08T22:49:49-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-08T22:49:49-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"info","time":"2022-04-08T22:49:55-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-08T22:49:55-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-08T22:49:55-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"info","time":"2022-04-08T22:50:26-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-08T22:50:26-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-08T22:50:26-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"info","time":"2022-04-09T17:12:44-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-09T17:12:44-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-09T17:12:44-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"info","time":"2022-04-09T17:12:44-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-09T17:12:44-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-09T17:12:44-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"info","time":"2022-04-09T17:14:28-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-09T17:14:28-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-09T17:14:28-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"info","time":"2022-04-09T21:21:48-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-09T21:21:48-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-09T21:21:48-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"info","time":"2022-04-09T21:21:49-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-09T21:21:49-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-09T21:21:49-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"info","time":"2022-04-09T21:22:27-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-09T21:22:27-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-09T21:22:27-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"info","time":"2022-04-09T21:26:20-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-09T21:26:20-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-09T21:26:20-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"info","time":"2022-04-09T21:27:06-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-09T21:27:06-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-09T21:27:06-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"info","time":"2022-04-09T21:28:54-04:00","message":"Getting all Rooms"}
-{"logtype":"webserver", "pid":"27100", "requestid":"", "status":"200", "method":"GET", "path":"/api/rooms"}
-{"logtype":"webserver", "pid":"27100", "requestid":"", "status":"404", "method":"GET", "path":"/photos/locations/Location4/Kitchen/Kitchen_cover.png"}
-{"level":"info","time":"2022-04-09T21:29:20-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-09T21:29:20-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-09T21:29:20-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"debug","time":"2022-04-09T21:29:25-04:00","message":"Returning Locations: []"}
-{"logtype":"webserver", "pid":"26572", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
-{"logtype":"webserver", "pid":"26572", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
-{"level":"debug","time":"2022-04-09T21:31:16-04:00","message":"Returning Locations: []"}
-{"logtype":"webserver", "pid":"26572", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
-{"level":"debug","time":"2022-04-09T21:31:51-04:00","message":"Returning Locations: []"}
-{"logtype":"webserver", "pid":"26572", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
-{"level":"debug","time":"2022-04-09T21:35:18-04:00","message":"Returning Locations: []"}
-{"logtype":"webserver", "pid":"26572", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
-{"level":"info","time":"2022-04-09T21:35:33-04:00","message":"Getting all Rooms"}
-{"logtype":"webserver", "pid":"26572", "requestid":"", "status":"200", "method":"GET", "path":"/api/rooms"}
-{"level":"debug","time":"2022-04-09T21:35:35-04:00","message":"Returning Locations: []"}
-{"logtype":"webserver", "pid":"26572", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
-{"level":"info","time":"2022-04-09T21:35:39-04:00","message":"Getting all Rooms"}
-{"logtype":"webserver", "pid":"26572", "requestid":"", "status":"200", "method":"GET", "path":"/api/rooms"}
-{"level":"debug","time":"2022-04-09T21:35:40-04:00","message":"Returning Locations: []"}
-{"logtype":"webserver", "pid":"26572", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
-{"level":"debug","time":"2022-04-09T21:35:51-04:00","message":"Returning Locations: []"}
-{"logtype":"webserver", "pid":"26572", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
-{"level":"debug","time":"2022-04-09T21:35:53-04:00","message":"Returning Locations: []"}
-{"logtype":"webserver", "pid":"26572", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
-{"level":"info","time":"2022-04-09T21:42:08-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-09T21:42:08-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-09T21:42:08-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"info","time":"2022-04-09T21:42:16-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-09T21:42:16-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-09T21:42:16-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"info","time":"2022-04-09T21:52:51-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-09T21:52:51-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-09T21:52:51-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"info","time":"2022-04-09T21:52:56-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-09T21:52:56-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-09T21:52:56-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"info","time":"2022-04-09T21:54:17-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-09T21:54:17-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-09T21:54:17-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"info","time":"2022-04-09T21:54:17-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-09T21:54:17-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-09T21:54:17-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"info","time":"2022-04-09T21:56:14-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-09T21:56:14-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-09T21:56:14-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"info","time":"2022-04-09T22:03:09-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-09T22:03:09-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-09T22:03:09-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"info","time":"2022-04-09T22:04:01-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-09T22:04:01-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-09T22:04:01-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"info","time":"2022-04-09T22:04:06-04:00","message":"Adding new location to database: %!(EXTRA main.Location={0 Location10 This is my test description10 Notes for my location!10 2400 120N 120N 125000 Location10_cover.png [] [] []})"}
-{"level":"debug","time":"2022-04-09T22:04:06-04:00","message":"Adding new location: {0 Location10 This is my test description10 Notes for my location!10 2400 120N 120N 125000 Location10_cover.png [] [] []}"}
-{"logtype":"webserver", "pid":"24776", "requestid":"", "status":"200", "method":"POST", "path":"/api/locations/new"}
-{"logtype":"webserver", "pid":"24776", "requestid":"", "status":"404", "method":"GET", "path":"/api/overview"}
-{"level":"error","time":"2022-04-09T22:04:51-04:00","message":"Failed to get last added location: provided target must be a pointer to slice "}
-{"logtype":"webserver", "pid":"24776", "requestid":"", "status":"500", "method":"GET", "path":"/api/overview/all"}
-{"level":"info","time":"2022-04-09T22:05:20-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-09T22:05:20-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-09T22:05:20-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"info","time":"2022-04-09T22:07:38-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-09T22:07:38-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-09T22:07:38-04:00","message":"Database and Config loaded, starting webserver..."}
-{"logtype":"webserver", "pid":"30140", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
-{"level":"info","time":"2022-04-09T22:09:43-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-09T22:09:43-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-09T22:09:43-04:00","message":"Database and Config loaded, starting webserver..."}
-{"logtype":"webserver", "pid":"23428", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
-{"level":"info","time":"2022-04-09T22:12:03-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-09T22:12:03-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-09T22:12:03-04:00","message":"Database and Config loaded, starting webserver..."}
-{"logtype":"webserver", "pid":"31068", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
-{"level":"info","time":"2022-04-09T22:12:47-04:00","message":"Adding new location to database: %!(EXTRA main.Location={0 Location0 This is my test description0 Notes for my location!0 2500 120N 120N 125000 Location0_cover.png [] [] []})"}
-{"level":"debug","time":"2022-04-09T22:12:48-04:00","message":"Adding new location: {0 Location0 This is my test description0 Notes for my location!0 2500 120N 120N 125000 Location0_cover.png [] [] []}"}
-{"logtype":"webserver", "pid":"31068", "requestid":"", "status":"200", "method":"POST", "path":"/api/locations/new"}
-{"logtype":"webserver", "pid":"31068", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
-{"logtype":"webserver", "pid":"31068", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
-{"logtype":"webserver", "pid":"31068", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
-{"level":"debug","time":"2022-04-09T22:13:43-04:00","message":"Returning Locations: [{ID:1 Name:Location10 Description:This is my test description10 Notes:Notes for my location!10 Address: SquareFeet:2400 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location10_cover.png Photos:[] Files:[] Rooms:[]} {ID:2 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
-{"logtype":"webserver", "pid":"31068", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
-{"level":"info","time":"2022-04-09T22:14:04-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-09T22:14:04-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-09T22:14:04-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"info","time":"2022-04-09T22:17:33-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-09T22:17:33-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-09T22:17:33-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"info","time":"2022-04-09T22:24:48-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-09T22:24:48-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-09T22:24:48-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"error","time":"2022-04-09T22:24:52-04:00","message":"Failed to get all cabinets by ID: unknown tag "}
-{"logtype":"webserver", "pid":"22260", "requestid":"", "status":"500", "method":"GET", "path":"/api/overview/all"}
-{"level":"info","time":"2022-04-09T22:25:33-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-09T22:25:33-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-09T22:25:33-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"error","time":"2022-04-09T22:25:38-04:00","message":"Failed to get all cabinets by ID: unknown tag "}
-{"logtype":"webserver", "pid":"31072", "requestid":"", "status":"500", "method":"GET", "path":"/api/overview/all"}
-{"level":"info","time":"2022-04-09T22:25:58-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-09T22:25:58-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-09T22:25:58-04:00","message":"Database and Config loaded, starting webserver..."}
-{"level":"info","time":"2022-04-09T22:26:05-04:00","message":"Adding new location to database: %!(EXTRA main.Location={0 Location0 This is my test description0 Notes for my location!0 2500 120N 120N 125000 Location0_cover.png [] [] []})"}
-{"level":"debug","time":"2022-04-09T22:26:05-04:00","message":"Adding new location: {0 Location0 This is my test description0 Notes for my location!0 2500 120N 120N 125000 Location0_cover.png [] [] []}"}
-{"logtype":"webserver", "pid":"9860", "requestid":"", "status":"200", "method":"POST", "path":"/api/locations/new"}
-{"level":"error","time":"2022-04-09T22:26:09-04:00","message":"Failed to get all cabinets by ID: unknown tag "}
-{"logtype":"webserver", "pid":"9860", "requestid":"", "status":"500", "method":"GET", "path":"/api/overview/all"}
-{"level":"info","time":"2022-04-09T22:26:38-04:00","message":"Configuration loaded successfully..."}
-{"level":"debug","time":"2022-04-09T22:26:38-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
-{"level":"info","time":"2022-04-09T22:26:38-04:00","message":"Database and Config loaded, starting webserver..."}
-{"logtype":"webserver", "pid":"12712", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
+{"level":"info","time":"2022-04-10T14:25:47-04:00","message":"Configuration loaded successfully..."}
+{"level":"debug","time":"2022-04-10T14:25:47-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
+{"level":"info","time":"2022-04-10T14:25:47-04:00","message":"Database and Config loaded, starting webserver..."}
+{"level":"debug","time":"2022-04-10T14:25:52-04:00","message":"Returning Locations: []"}
+{"logtype":"webserver", "pid":"34700", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"logtype":"webserver", "pid":"34700", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
+{"level":"info","time":"2022-04-10T14:25:59-04:00","message":"Adding new location to database: %!(EXTRA main.Location={0 Location0 This is my test description0 Notes for my location!0 2500 120N 120N 125000 Location0_cover.png [] [] []})"}
+{"level":"debug","time":"2022-04-10T14:26:00-04:00","message":"Adding new location: {0 Location0 This is my test description0 Notes for my location!0 2500 120N 120N 125000 Location0_cover.png [] [] []}"}
+{"logtype":"webserver", "pid":"34700", "requestid":"", "status":"200", "method":"POST", "path":"/api/locations/new"}
+{"level":"debug","time":"2022-04-10T14:26:04-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"34700", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"logtype":"webserver", "pid":"34700", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
+{"logtype":"webserver", "pid":"34700", "requestid":"", "status":"404", "method":"GET", "path":"/photos/locations/Location0/Location0_cover.png"}
+{"level":"info","time":"2022-04-10T14:26:51-04:00","message":"Configuration loaded successfully..."}
+{"level":"debug","time":"2022-04-10T14:26:51-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
+{"level":"info","time":"2022-04-10T14:26:51-04:00","message":"Database and Config loaded, starting webserver..."}
+{"level":"info","time":"2022-04-10T14:26:59-04:00","message":"Configuration loaded successfully..."}
+{"level":"debug","time":"2022-04-10T14:26:59-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
+{"level":"info","time":"2022-04-10T14:26:59-04:00","message":"Database and Config loaded, starting webserver..."}
+{"level":"debug","time":"2022-04-10T14:27:31-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"404", "method":"GET", "path":"/photos/locations/Location0/Location0_cover.png"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/files/locations/Location0/Location0_cover.png"}
+{"level":"error","time":"2022-04-10T14:29:45-04:00","message":"Unable to fetch all rooms at location: not found"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"500", "method":"GET", "path":"/api/locations/1/rooms"}
+{"level":"debug","time":"2022-04-10T14:29:49-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"level":"error","time":"2022-04-10T14:30:24-04:00","message":"Unable to fetch all rooms at location: not found"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"500", "method":"GET", "path":"/api/locations/1/rooms"}
+{"level":"info","time":"2022-04-10T14:30:30-04:00","message":"Getting all Rooms"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/rooms"}
+{"level":"debug","time":"2022-04-10T14:30:57-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"304", "method":"GET", "path":"/files/locations/Location0/Location0_cover.png"}
+{"level":"info","time":"2022-04-10T14:31:02-04:00","message":"Getting all Rooms"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/rooms"}
+{"level":"debug","time":"2022-04-10T14:31:22-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"level":"debug","time":"2022-04-10T14:34:01-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"304", "method":"GET", "path":"/files/locations/Location0/Location0_cover.png"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
+{"level":"debug","time":"2022-04-10T14:45:13-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"304", "method":"GET", "path":"/files/locations/Location0/Location0_cover.png"}
+{"level":"debug","time":"2022-04-10T14:45:22-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"level":"debug","time":"2022-04-10T14:47:20-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"level":"debug","time":"2022-04-10T14:47:21-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"level":"debug","time":"2022-04-10T14:47:23-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"level":"debug","time":"2022-04-10T14:47:25-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
+{"level":"debug","time":"2022-04-10T14:47:47-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"304", "method":"GET", "path":"/files/locations/Location0/Location0_cover.png"}
+{"level":"debug","time":"2022-04-10T14:47:49-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"level":"debug","time":"2022-04-10T14:48:55-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"level":"debug","time":"2022-04-10T14:49:03-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
+{"level":"debug","time":"2022-04-10T14:50:36-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"304", "method":"GET", "path":"/files/locations/Location0/Location0_cover.png"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
+{"level":"debug","time":"2022-04-10T14:51:33-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
+{"level":"debug","time":"2022-04-10T14:56:55-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"304", "method":"GET", "path":"/files/locations/Location0/Location0_cover.png"}
+{"level":"info","time":"2022-04-10T15:03:59-04:00","message":"Getting all Rooms"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/rooms"}
+{"level":"debug","time":"2022-04-10T15:04:01-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"304", "method":"GET", "path":"/files/locations/Location0/Location0_cover.png"}
+{"level":"debug","time":"2022-04-10T15:08:57-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"level":"debug","time":"2022-04-10T15:20:15-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
+{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"304", "method":"GET", "path":"/files/locations/Location0/Location0_cover.png"}
+{"level":"info","time":"2022-04-10T15:21:09-04:00","message":"Configuration loaded successfully..."}
+{"level":"debug","time":"2022-04-10T15:21:09-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
+{"level":"info","time":"2022-04-10T15:21:09-04:00","message":"Database and Config loaded, starting webserver..."}
+{"level":"debug","time":"2022-04-10T15:21:39-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
+{"level":"debug","time":"2022-04-10T15:25:11-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"level":"debug","time":"2022-04-10T15:25:13-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"level":"debug","time":"2022-04-10T15:25:45-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"level":"debug","time":"2022-04-10T15:25:49-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"level":"debug","time":"2022-04-10T15:25:54-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"level":"debug","time":"2022-04-10T15:26:31-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"304", "method":"GET", "path":"/files/locations/Location0/Location0_cover.png"}
+{"level":"debug","time":"2022-04-10T15:26:50-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"level":"debug","time":"2022-04-10T15:27:03-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"level":"info","time":"2022-04-10T15:31:42-04:00","message":"Getting all Rooms"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/rooms"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
+{"level":"debug","time":"2022-04-10T21:56:34-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"304", "method":"GET", "path":"/files/locations/Location0/Location0_cover.png"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
+{"level":"debug","time":"2022-04-10T21:56:37-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"level":"debug","time":"2022-04-10T21:56:40-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
+{"level":"debug","time":"2022-04-10T21:56:54-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations/1"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"500", "method":"GET", "path":"/api/locations/undefined"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
+{"level":"debug","time":"2022-04-10T22:20:49-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"500", "method":"GET", "path":"/api/locations/undefined"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"500", "method":"GET", "path":"/api/locations/undefined"}
+{"level":"debug","time":"2022-04-10T22:25:19-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"500", "method":"GET", "path":"/api/locations/undefined"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"500", "method":"GET", "path":"/api/locations/undefined"}
+{"level":"debug","time":"2022-04-10T22:28:46-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"500", "method":"GET", "path":"/api/locations/undefined"}
+{"level":"debug","time":"2022-04-10T22:29:49-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"500", "method":"GET", "path":"/api/locations/undefined"}
+{"level":"debug","time":"2022-04-10T22:30:01-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"500", "method":"GET", "path":"/api/locations/undefined"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"500", "method":"GET", "path":"/api/locations/undefined"}
+{"level":"debug","time":"2022-04-10T22:31:27-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"500", "method":"GET", "path":"/api/locations/undefined"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"500", "method":"GET", "path":"/api/locations/undefined"}
+{"level":"debug","time":"2022-04-10T22:31:55-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"500", "method":"GET", "path":"/api/locations/undefined"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"500", "method":"GET", "path":"/api/locations/undefined"}
+{"level":"debug","time":"2022-04-10T22:33:24-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"500", "method":"GET", "path":"/api/locations/undefined"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"500", "method":"GET", "path":"/api/locations/undefined"}
+{"level":"debug","time":"2022-04-10T22:33:49-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"500", "method":"GET", "path":"/api/locations/undefined"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
+{"level":"debug","time":"2022-04-10T22:35:26-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"level":"debug","time":"2022-04-10T22:37:37-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"500", "method":"GET", "path":"/api/locations/[object%20Object]"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations/1"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations/1"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations/1"}
+{"level":"debug","time":"2022-04-10T22:52:25-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"304", "method":"GET", "path":"/files/locations/Location0/Location0_cover.png"}
+{"level":"debug","time":"2022-04-11T22:14:02-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"304", "method":"GET", "path":"/files/locations/Location0/Location0_cover.png"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations/1"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
+{"level":"debug","time":"2022-04-11T22:14:27-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"level":"debug","time":"2022-04-11T22:14:29-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"level":"info","time":"2022-04-11T22:14:59-04:00","message":"Configuration loaded successfully..."}
+{"level":"debug","time":"2022-04-11T22:14:59-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
+{"level":"info","time":"2022-04-11T22:14:59-04:00","message":"Database and Config loaded, starting webserver..."}
+{"logtype":"webserver", "pid":"3324", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
+{"level":"debug","time":"2022-04-11T22:21:22-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"3324", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"logtype":"webserver", "pid":"3324", "requestid":"", "status":"404", "method":"GET", "path":"/files/locations/undefined/undefined"}
+{"level":"info","time":"2022-04-11T22:36:29-04:00","message":"Getting all Rooms"}
+{"logtype":"webserver", "pid":"3324", "requestid":"", "status":"200", "method":"GET", "path":"/api/rooms"}
+{"level":"debug","time":"2022-04-11T22:36:31-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"3324", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"logtype":"webserver", "pid":"3324", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
+{"level":"debug","time":"2022-04-11T22:36:46-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"3324", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
+{"level":"debug","time":"2022-04-11T22:40:10-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
+{"logtype":"webserver", "pid":"3324", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
diff --git a/config.go b/config.go
index c700257..e53b575 100644
--- a/config.go
+++ b/config.go
@@ -12,7 +12,7 @@ import (
var defaultConfig = `# All values in this config file WILL BE overwritten by ENV variables (GI_SERVER_PORT for example) if they exist.
Server:
port: 3500
- LocationFilesDir: "./app/photos/locations/"
+ LocationFilesDir: "./app/files/locations/"
Logger:
loglevel: "debug" # debug/info/warn/error
@@ -31,7 +31,7 @@ type Config struct {
Timezone string `fig:"tz" default:"America/New_York"`
Server struct {
Port string `fig:"port" default:"3000"`
- LocationFilesDir string `fig:"LocationFilesDir" default:"./app/photos/locations/"`
+ LocationFilesDir string `fig:"LocationFilesDir" default:"./app/files/locations/"`
}
Logger struct {
Level string `fig:"loglevel" default:"info"`
diff --git a/frontend/src/App.js b/frontend/src/App.js
index e960708..a210933 100644
--- a/frontend/src/App.js
+++ b/frontend/src/App.js
@@ -1,7 +1,7 @@
import React, {useState, useEffect } from 'react';
import { useAtom } from 'jotai';
import HomePage from './components/pages/HomePage';
-import Locations from './components/pages/Locations';
+import LocationsPage from './components/pages/LocationsPage';
import RoomsPage from './components/pages/RoomsPage';
import LocationForm from './components/forms/LocationForm'
import { Routes, Route, useNavigate } from "react-router-dom";
@@ -16,6 +16,7 @@ import { serverConfigAtom } from './state/main'
import SideBar from './components/SideBar';
import AppHeader from './components/AppHeader';
+import LocationDetailsPage from './components/pages/LocationDetailsPage';
@@ -70,10 +71,11 @@ function App() {
header={}
>
- } />
- } />
- } />
- } />
+ } />
+ } />
+ } />
+ } />
+ } />
diff --git a/frontend/src/components/SideBar.js b/frontend/src/components/SideBar.js
index cabeaff..40f473c 100644
--- a/frontend/src/components/SideBar.js
+++ b/frontend/src/components/SideBar.js
@@ -49,7 +49,7 @@ const useStyles = createStyles((theme) => ({
const sideBarData = [
- { label: 'Dashboard', icon: GoDashboard },
+ { label: 'Dashboard', icon: GoDashboard, link: {label: 'Dashboard', link: '/'}},
{
label: 'Locations',
icon: GoLocation,
@@ -99,10 +99,10 @@ function SideBar(props) {
v3.1.2
*/}
-
-
- {links}
-
+
+
+ {links}
+
{/*
*/}
-
+
>
diff --git a/frontend/src/components/cards/LocationCard.js b/frontend/src/components/cards/LocationCard.js
index 36b479f..94c96d4 100644
--- a/frontend/src/components/cards/LocationCard.js
+++ b/frontend/src/components/cards/LocationCard.js
@@ -3,6 +3,7 @@ import { Text, Button, Card, Group, Menu, Image, Badge } from '@mantine/core'
import { useAtom } from 'jotai';
import { useNavigate } from "react-router-dom";
import { activePageAtom, roomFilterAtom, serverConfigAtom } from '../../state/main';
+import { Link } from 'react-router-dom';
@@ -34,7 +35,7 @@ function LocationCard(props) {
return (
- {location.CoverPhoto ? : No Photo}
+ {location.CoverPhoto ? : No Photo}
{location.Description}
-
+
diff --git a/frontend/src/components/cards/RoomCard.js b/frontend/src/components/cards/RoomCard.js
index 849731b..8522299 100644
--- a/frontend/src/components/cards/RoomCard.js
+++ b/frontend/src/components/cards/RoomCard.js
@@ -34,7 +34,7 @@ function RoomCard(props) {
return (
{}} shadow="sm" padding="md">
- {room.CoverPhoto ? : No Photo}
+ {room.CoverPhoto ? : No Photo}
{room.Name}
diff --git a/frontend/src/components/pages/HomePage.js b/frontend/src/components/pages/HomePage.js
index 35855ad..14242b7 100644
--- a/frontend/src/components/pages/HomePage.js
+++ b/frontend/src/components/pages/HomePage.js
@@ -1,19 +1,107 @@
import React, {useState, useEffect, useContext, createContext} from 'react';
-import { Text } from '@mantine/core'
+import { Text, Title, ThemeIcon, Group, Container, Space } from '@mantine/core'
import { useAtom } from 'jotai';
import { serverConfigAtom } from '../../state/main'
+import { GoLocation } from 'react-icons/go'
+import { BsDoorClosed, BsDiagram2 } from 'react-icons/bs'
+import { useNotifications } from '@mantine/notifications';
+import { BiCabinet } from 'react-icons/bi'
+import { backendAPI } from '../../services/backend-api';
function HomePage() {
const [opened, setOpened] = useState(false);
+ const [isLoading, setIsLoading] = useState(false);
const [serverConfig] = useAtom(serverConfigAtom)
+ const [overview, setOverview] = useState({})
+ const notifications = useNotifications();
+
+ useEffect(() => {
+ console.log("LOADING LOCATIONS PAGE!")
+ setIsLoading(true)
+ async function fetchSettings() {
+ backendAPI.get('/overview/all').then(results => {
+ console.log("CONFIG IN LOCATIONS: ", serverConfig)
+ console.log("Overview ", results.data)
+ setOverview(results.data)
+
+ setIsLoading(false)
+ }).catch(err => {
+ notifications.showNotification({
+ title: 'Backend Notice',
+ message: `Failed to fetch statistics from backend! ${err}`,
+ autoClose: false,
+ color: "red",
+ })
+ setIsLoading(false)
+ })
+
+ }
+ fetchSettings();
+
+
+ }, [])
+
return (
<>
- This is the homepage!
+ Your Instance Statistics
+
+
+
+
+ {overview.NumLocations} Location{overview.NumLocations === 1 ? "": "s"}
+ {overview.hasOwnProperty('LastAddedLocation') && overview.LastAddedLocation !== null &&
+ <>
+ Last Added Location:
+ {overview.LastAddedLocation.Name}
+ >
+ }
+
+
+
+
+
+
+ {overview.NumRooms} Room{overview.NumRooms === 1 ? "": "s"}
+ {overview.hasOwnProperty('LastAddedRoom') && overview.LastAddedRoom !== null &&
+ <>
+ Last Added Room:
+ {overview.LastAddedRoom.Name}
+ >
+ }
+
+
+
+
+
+
+ {overview.NumCabinets} Cabinet{overview.NumCabinets === 1 ? "": "s"}
+ {overview.hasOwnProperty('LastAddedCabinet') && overview.LastAddedCabinet !== null &&
+ <>
+ Last Added Cabinet:
+ {overview.LastAddedCabinet.Name}
+ >
+ }
+
+
+
+
+
+
+ {overview.NumItems} Item{overview.NumItems === 1 ? "": "s"}
+ {overview.hasOwnProperty('LastAddedItem') && overview.LastAddedItem !== null &&
+ <>
+ Last Added Item:
+ {overview.LastAddedItem.Name}
+ >
+ }
+
+
+
>
);
diff --git a/frontend/src/components/pages/LocationDetailsPage.js b/frontend/src/components/pages/LocationDetailsPage.js
new file mode 100644
index 0000000..9af59b7
--- /dev/null
+++ b/frontend/src/components/pages/LocationDetailsPage.js
@@ -0,0 +1,148 @@
+import React, {useState, useEffect } from 'react';
+import { useAtom } from 'jotai'
+import { serverConfigAtom } from '../../state/main';
+import { Loader, Center, Title, Group, Button, Space, Container, ThemeIcon, Text, Image } from '@mantine/core'
+import { useNavigate, useLocation, useParams } from "react-router-dom";
+import { useNotifications } from '@mantine/notifications';
+import { GoLocation } from 'react-icons/go'
+
+import { backendAPI } from '../../services/backend-api';
+
+function LocationDetailsPage() {
+ const location = useLocation()
+
+
+
+ // const [opened, setOpened] = useState(false);
+ const [isLoading, setIsLoading] = useState(false);
+ const [serverConfig] = useAtom(serverConfigAtom)
+ const [locationDetails, setLocationDetails] = useState({})
+
+ let navigate = useNavigate();
+
+ const notifications = useNotifications();
+
+ let routeLocationID = useParams()
+
+
+
+ useEffect(() => {
+ let locationDetailsProps = {}
+ if (location.state) {
+ if (location.state.hasOwnProperty('location')) {
+ locationDetailsProps = location.state.location
+ }
+ }
+
+ if (Object.keys(locationDetailsProps).length === 0) {
+ console.log("manually fetching location details!")
+ setIsLoading(true)
+ async function fetchSettings() {
+ backendAPI.get(`/locations/${routeLocationID.id}`).then(results => {
+ console.log("CONFIG IN LOCATIONS: ", serverConfig)
+ console.log("LOCATIONS: ", results.data)
+ setLocationDetails(results.data)
+ setIsLoading(false)
+ }).catch(err => {
+ notifications.showNotification({
+ title: 'Backend Notice',
+ message: `Failed to fetch locations from backend! ${err}`,
+ autoClose: false,
+ color: "red",
+ })
+ setIsLoading(false)
+ })
+
+ }
+ fetchSettings();
+ } else {
+ console.log("Using passed state!", locationDetailsProps)
+ setLocationDetails(locationDetailsProps)
+ }
+
+
+
+ }, [])
+
+
+
+
+ return (
+ <>
+ { isLoading && }
+ {locationDetails.Name}
+
+
+
+
+
+ Description:
+ {locationDetails.Description}
+
+
+
+
+
+
+ Notes:
+ {locationDetails.Notes}
+
+
+
+
+
+
+ Address:
+ {locationDetails.Address}
+
+
+
+
+
+
+ Square Feet:
+ {locationDetails.SquareFeet}
+
+
+
+
+
+
+ Lat/Long:
+ {locationDetails.Latitude}/{locationDetails.Longitude}
+
+
+
+
+
+
+ Date Purchased:
+ {locationDetails.DatePurchased}
+
+
+
+
+
+
+ Purchase Price:
+ {locationDetails.PurchasePrice}
+
+
+
+
+
+
+ Current Value:
+ {locationDetails.CurrentValue}
+
+
+
+
+
+
+ >
+
+ );
+}
+
+export default LocationDetailsPage;
\ No newline at end of file
diff --git a/frontend/src/components/pages/Locations.js b/frontend/src/components/pages/LocationsPage.js
similarity index 100%
rename from frontend/src/components/pages/Locations.js
rename to frontend/src/components/pages/LocationsPage.js
diff --git a/frontend/src/components/sidebar/SidebarLinksGroup.js b/frontend/src/components/sidebar/SidebarLinksGroup.js
index c4660a3..bbb072c 100644
--- a/frontend/src/components/sidebar/SidebarLinksGroup.js
+++ b/frontend/src/components/sidebar/SidebarLinksGroup.js
@@ -1,5 +1,5 @@
import React, { useState } from 'react';
-import { Group, Box, Collapse, ThemeIcon, Text, UnstyledButton, createStyles } from '@mantine/core';
+import { Group, Box, Collapse, ThemeIcon, UnstyledButton, createStyles } from '@mantine/core';
import { useMediaQuery } from '@mantine/hooks';
import { BiChevronLeft, BiChevronRight } from 'react-icons/bi';
import { useAtom } from 'jotai';
@@ -52,10 +52,11 @@ const useStyles = createStyles((theme) => ({
export function LinksGroup(props) {
- const { icon: Icon, label, initiallyOpened, links } = props
+ const { icon: Icon, label, initiallyOpened, links, link } = props
const isMobile = useMediaQuery('(max-width: 768px)')
const hasLinks = Array.isArray(links);
+ const hasLink = (typeof link === "object")
const [opened, setOpened] = useState(initiallyOpened || false);
// Navigation State
const [activePage, setActivePage] = useAtom(activePageAtom)
@@ -67,7 +68,7 @@ export function LinksGroup(props) {
const ChevronIcon = theme.dir === 'ltr' ? BiChevronRight : BiChevronLeft;
- const navigate = (event, location) => {
+ const navigate = (location) => {
// event.preventDefault()
if (location === "rooms") {
setRoomFilter({})
@@ -88,36 +89,65 @@ export function LinksGroup(props) {
className={activePage === link.label.toLowerCase() ? cx(classes.link, classes.activeLink) : classes.link}
to={link.link}
key={link.label}
- onClick={(e) => {navigate(e, link.label.toLowerCase())}}
+ onClick={() => {navigate(link.label.toLowerCase())}}
>
{link.label}
>
));
+ const buttonContents = () => {
+ return (
+
+
+
+
+
+ {label}
+
+ {hasLinks && (
+
+ )}
+
+ )
+ }
+
+ const myButton = () => {
+ if (hasLink) {
+ return (
+ setOpened((o) => !o) : () => navigate(link.label.toLowerCase())}
+ className={activePage === link.label.toLowerCase() ? cx(classes.control, classes.activeLink) : classes.control}
+ component={Link}
+ to={link.link}
+ key={link.label}
+ >
+ {buttonContents()}
+
+ )
+ } else {
+ return (
+ setOpened((o) => !o)}
+ className={classes.control}
+ >
+ {buttonContents()}
+
+ )
+ }
+ }
return (
<>
- setOpened((o) => !o)} className={classes.control}>
-
-
-
-
-
- {label}
-
- {hasLinks && (
-
- )}
-
-
+ {myButton()}
{hasLinks ? {items} : null}
>
- );
+
+ )
}
\ No newline at end of file
diff --git a/main.go b/main.go
index 48ae05e..8833901 100644
--- a/main.go
+++ b/main.go
@@ -78,7 +78,7 @@ func main() {
}))
// Serve up our static images
- server.WebServer.Static("/photos", "./app/photos")
+ server.WebServer.Static("/files", server.Config.Server.LocationFilesDir)
// Load in our routes
server.WebServer.Get("/hello", func(c *fiber.Ctx) error { // Basic Hello Route