fixing add item route, working on finishing cabinet routes

This commit is contained in:
2022-04-01 21:57:35 -04:00
parent a70baddc4b
commit cc60aa59d5
6 changed files with 449 additions and 64 deletions

View File

@@ -902,3 +902,49 @@
{"level":"info","time":"2022-03-30T22:57:01-04:00","message":"Configuration loaded successfully..."}
{"level":"debug","time":"2022-03-30T22:57:01-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationPhotoDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
{"level":"info","time":"2022-03-30T22:57:01-04:00","message":"Database and Config loaded, starting webserver..."}
{"level":"info","time":"2022-03-31T20:49:27-04:00","message":"Configuration loaded successfully..."}
{"level":"debug","time":"2022-03-31T20:49:27-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationPhotoDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
{"level":"info","time":"2022-03-31T20:49:27-04:00","message":"Database and Config loaded, starting webserver..."}
{"level":"info","time":"2022-03-31T20:51:46-04:00","message":"Configuration loaded successfully..."}
{"level":"debug","time":"2022-03-31T20:51:46-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationPhotoDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
{"level":"info","time":"2022-03-31T20:51:46-04:00","message":"Database and Config loaded, starting webserver..."}
{"level":"info","time":"2022-03-31T20:52:46-04:00","message":"Configuration loaded successfully..."}
{"level":"debug","time":"2022-03-31T20:52:46-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationPhotoDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
{"level":"info","time":"2022-03-31T20:52:46-04:00","message":"Database and Config loaded, starting webserver..."}
{"level":"info","time":"2022-03-31T20:54:33-04:00","message":"Configuration loaded successfully..."}
{"level":"debug","time":"2022-03-31T20:54:33-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationPhotoDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
{"level":"info","time":"2022-03-31T20:54:33-04:00","message":"Database and Config loaded, starting webserver..."}
{"level":"info","time":"2022-03-31T20:59:41-04:00","message":"Configuration loaded successfully..."}
{"level":"debug","time":"2022-03-31T20:59:41-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationPhotoDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
{"level":"info","time":"2022-03-31T20:59:41-04:00","message":"Database and Config loaded, starting webserver..."}
{"level":"info","time":"2022-03-31T21:00:13-04:00","message":"Configuration loaded successfully..."}
{"level":"debug","time":"2022-03-31T21:00:13-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationPhotoDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
{"level":"info","time":"2022-03-31T21:00:13-04:00","message":"Database and Config loaded, starting webserver..."}
{"level":"info","time":"2022-03-31T21:01:31-04:00","message":"Configuration loaded successfully..."}
{"level":"debug","time":"2022-03-31T21:01:31-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationPhotoDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
{"level":"info","time":"2022-03-31T21:01:31-04:00","message":"Database and Config loaded, starting webserver..."}
{"level":"info","time":"2022-03-31T21:09:03-04:00","message":"Configuration loaded successfully..."}
{"level":"debug","time":"2022-03-31T21:09:03-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationPhotoDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
{"level":"info","time":"2022-03-31T21:09:03-04:00","message":"Database and Config loaded, starting webserver..."}
{"level":"info","time":"2022-03-31T21:21:22-04:00","message":"Configuration loaded successfully..."}
{"level":"debug","time":"2022-03-31T21:21:22-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationPhotoDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
{"level":"info","time":"2022-03-31T21:21:22-04:00","message":"Database and Config loaded, starting webserver..."}
{"level":"info","time":"2022-03-31T21:21:42-04:00","message":"Configuration loaded successfully..."}
{"level":"debug","time":"2022-03-31T21:21:42-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationPhotoDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
{"level":"info","time":"2022-03-31T21:21:42-04:00","message":"Database and Config loaded, starting webserver..."}
{"level":"info","time":"2022-03-31T21:21:54-04:00","message":"Configuration loaded successfully..."}
{"level":"debug","time":"2022-03-31T21:21:54-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationPhotoDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
{"level":"info","time":"2022-03-31T21:21:54-04:00","message":"Database and Config loaded, starting webserver..."}
{"level":"info","time":"2022-04-01T21:46:46-04:00","message":"Configuration loaded successfully..."}
{"level":"debug","time":"2022-04-01T21:46:46-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationPhotoDir:./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-01T21:46:46-04:00","message":"Database and Config loaded, starting webserver..."}
{"logtype":"webserver", "pid":"29344", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
{"level":"debug","time":"2022-04-01T21:47:48-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":"29344", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
{"logtype":"webserver", "pid":"29344", "requestid":"", "status":"200", "method":"GET", "path":"/photos/locations/Location6/Location6_cover.png"}
{"logtype":"webserver", "pid":"29344", "requestid":"", "status":"200", "method":"GET", "path":"/photos/locations/Location10/Location10_cover.png"}
{"logtype":"webserver", "pid":"29344", "requestid":"", "status":"200", "method":"GET", "path":"/api/rooms/1"}
{"logtype":"webserver", "pid":"29344", "requestid":"", "status":"304", "method":"GET", "path":"/photos/locations/Location4/Kitchen/Kitchen_cover.png"}
{"level":"info","time":"2022-04-01T21:57:09-04:00","message":"Configuration loaded successfully..."}
{"level":"debug","time":"2022-04-01T21:57:09-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationPhotoDir:./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-01T21:57:09-04:00","message":"Database and Config loaded, starting webserver..."}