-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcombined.log
More file actions
23 lines (23 loc) · 51.6 KB
/
combined.log
File metadata and controls
23 lines (23 loc) · 51.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{"level":"\u001b[32minfo\u001b[39m","message":"HTTP GET / 404 14ms","meta":{"res":{"statusCode":404,"body":{"message":"Not Found","stack":"APIError: API not found\n at new ExtendableError (C:\\postgres-express-react-node-tutorial\\server\\controllers\\helpers\\APIError.js:13:11)\n at new APIError (C:\\postgres-express-react-node-tutorial\\server\\controllers\\helpers\\APIError.js:29:5)\n at app.use (C:\\postgres-express-react-node-tutorial\\app.js:71:15)\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:95:5)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7\n at Function.process_params (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:335:12)\n at next (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:275:10)\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:91:12)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7\n at Function.process_params (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:335:12)\n at next (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:275:10)\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:91:12)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7\n at Function.process_params (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:335:12)\n at next (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:275:10)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express-winston\\index.js:353:9\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:95:5)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7"}},"req":{"url":"/","headers":{"host":"127.0.0.1:8000","connection":"keep-alive","purpose":"prefetch","upgrade-insecure-requests":"1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8","accept-encoding":"gzip, deflate, br","accept-language":"en-US,en;q=0.9","cookie":"_ga=GA1.1.127543770.1533741671; euCookie=1"},"method":"GET","httpVersion":"1.1","originalUrl":"/","query":{}},"responseTime":14}}
{"level":"\u001b[32minfo\u001b[39m","message":"HTTP GET /favicon.ico 404 3ms","meta":{"res":{"statusCode":404,"body":{"message":"Not Found","stack":"APIError: API not found\n at new ExtendableError (C:\\postgres-express-react-node-tutorial\\server\\controllers\\helpers\\APIError.js:13:11)\n at new APIError (C:\\postgres-express-react-node-tutorial\\server\\controllers\\helpers\\APIError.js:29:5)\n at app.use (C:\\postgres-express-react-node-tutorial\\app.js:71:15)\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:95:5)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7\n at Function.process_params (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:335:12)\n at next (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:275:10)\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:91:12)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7\n at Function.process_params (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:335:12)\n at next (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:275:10)\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:91:12)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7\n at Function.process_params (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:335:12)\n at next (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:275:10)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express-winston\\index.js:353:9\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:95:5)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7"}},"req":{"url":"/favicon.ico","headers":{"host":"127.0.0.1:8000","connection":"keep-alive","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36","accept":"image/webp,image/apng,image/*,*/*;q=0.8","referer":"http://127.0.0.1:8000/","accept-encoding":"gzip, deflate, br","accept-language":"en-US,en;q=0.9","cookie":"_ga=GA1.1.127543770.1533741671; euCookie=1"},"method":"GET","httpVersion":"1.1","originalUrl":"/favicon.ico","query":{}},"responseTime":3}}
{"level":"\u001b[32minfo\u001b[39m","message":"HTTP GET /api/user/signin 500 167ms","meta":{"res":{"statusCode":500,"body":{"error":"attr.indexOf is not a function"}},"req":{"url":"/api/user/signin","headers":{"host":"127.0.0.1:8000","connection":"keep-alive","upgrade-insecure-requests":"1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8","accept-encoding":"gzip, deflate, br","accept-language":"en-US,en;q=0.9","cookie":"_ga=GA1.1.127543770.1533741671; euCookie=1"},"method":"GET","httpVersion":"1.1","originalUrl":"/api/user/signin","query":{}},"responseTime":167}}
{"level":"\u001b[31merror\u001b[39m","message":"middlewareError","meta":{"error":{"name":"APIError","status":401,"isPublic":false,"isOperational":true},"level":"error","message":"uncaughtException: No authorization token was found\nAPIError: No authorization token was found\n at new ExtendableError (C:\\postgres-express-react-node-tutorial\\server\\controllers\\helpers\\APIError.js:13:11)\n at new APIError (C:\\postgres-express-react-node-tutorial\\server\\controllers\\helpers\\APIError.js:29:5)\n at app.use (C:\\postgres-express-react-node-tutorial\\app.js:58:22)\n at Layer.handle_error (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:71:5)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:315:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7\n at Function.process_params (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:335:12)\n at Immediate.next (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:275:10)\n at Immediate.<anonymous> (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:635:15)\n at runCallback (timers.js:812:20)\n at tryOnImmediate (timers.js:768:5)\n at processImmediate [as _immediateCallback] (timers.js:745:5)","stack":"APIError: No authorization token was found\n at new ExtendableError (C:\\postgres-express-react-node-tutorial\\server\\controllers\\helpers\\APIError.js:13:11)\n at new APIError (C:\\postgres-express-react-node-tutorial\\server\\controllers\\helpers\\APIError.js:29:5)\n at app.use (C:\\postgres-express-react-node-tutorial\\app.js:58:22)\n at Layer.handle_error (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:71:5)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:315:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7\n at Function.process_params (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:335:12)\n at Immediate.next (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:275:10)\n at Immediate.<anonymous> (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:635:15)\n at runCallback (timers.js:812:20)\n at tryOnImmediate (timers.js:768:5)\n at processImmediate [as _immediateCallback] (timers.js:745:5)","exception":true,"date":"Mon Nov 12 2018 13:50:22 GMT+0100 (W. Central Africa Standard Time)","process":{"pid":16492,"uid":null,"gid":null,"cwd":"C:\\postgres-express-react-node-tutorial","execPath":"C:\\Program Files\\nodejs\\node.exe","version":"v8.11.3","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\postgres-express-react-node-tutorial\\app.js"],"memoryUsage":{"rss":44068864,"heapTotal":26087424,"heapUsed":22419024,"external":90540}},"os":{"loadavg":[0,0,0],"uptime":517178.7945929},"trace":[{"column":11,"file":"C:\\postgres-express-react-node-tutorial\\server\\controllers\\helpers\\APIError.js","function":"new ExtendableError","line":13,"method":null,"native":false},{"column":5,"file":"C:\\postgres-express-react-node-tutorial\\server\\controllers\\helpers\\APIError.js","function":"new APIError","line":29,"method":null,"native":false},{"column":22,"file":"C:\\postgres-express-react-node-tutorial\\app.js","function":"app.use","line":58,"method":"use","native":false},{"column":5,"file":"C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js","function":"Layer.handle_error","line":71,"method":"handle_error","native":false},{"column":13,"file":"C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js","function":"trim_prefix","line":315,"method":null,"native":false},{"column":7,"file":"C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js","function":null,"line":284,"method":null,"native":false},{"column":12,"file":"C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js","function":"Function.process_params","line":335,"method":"process_params","native":false},{"column":10,"file":"C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js","function":"Immediate.next","line":275,"method":"next","native":false},{"column":15,"file":"C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js","function":null,"line":635,"method":null,"native":false},{"column":20,"file":"timers.js","function":"runCallback","line":812,"method":null,"native":false},{"column":5,"file":"timers.js","function":"tryOnImmediate","line":768,"method":null,"native":false},{"column":5,"file":"timers.js","function":"processImmediate [as _immediateCallback]","line":745,"method":null,"native":false}],"req":{"url":"/api/contact","headers":{"host":"127.0.0.1:8000","connection":"keep-alive","upgrade-insecure-requests":"1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8","accept-encoding":"gzip, deflate, br","accept-language":"en-US,en;q=0.9","cookie":"_ga=GA1.1.127543770.1533741671; euCookie=1"},"method":"GET","httpVersion":"1.1","originalUrl":"/api/contact","query":{},"body":{}}}}
{"level":"\u001b[32minfo\u001b[39m","message":"HTTP GET /api/contact 401 228ms","meta":{"res":{"statusCode":401,"body":{"message":"Unauthorized","stack":"APIError: No authorization token was found\n at new ExtendableError (C:\\postgres-express-react-node-tutorial\\server\\controllers\\helpers\\APIError.js:13:11)\n at new APIError (C:\\postgres-express-react-node-tutorial\\server\\controllers\\helpers\\APIError.js:29:5)\n at app.use (C:\\postgres-express-react-node-tutorial\\app.js:58:22)\n at Layer.handle_error (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:71:5)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:315:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7\n at Function.process_params (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:335:12)\n at Immediate.next (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:275:10)\n at Immediate.<anonymous> (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:635:15)\n at runCallback (timers.js:812:20)\n at tryOnImmediate (timers.js:768:5)\n at processImmediate [as _immediateCallback] (timers.js:745:5)"}},"req":{"url":"/api/contact","headers":{"host":"127.0.0.1:8000","connection":"keep-alive","upgrade-insecure-requests":"1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8","accept-encoding":"gzip, deflate, br","accept-language":"en-US,en;q=0.9","cookie":"_ga=GA1.1.127543770.1533741671; euCookie=1"},"method":"GET","httpVersion":"1.1","originalUrl":"/api/contact","query":{}},"responseTime":228}}
{"level":"\u001b[32minfo\u001b[39m","message":"HTTP GET /api/signup 404 3ms","meta":{"res":{"statusCode":404,"body":{"message":"Not Found","stack":"APIError: API not found\n at new ExtendableError (C:\\postgres-express-react-node-tutorial\\server\\controllers\\helpers\\APIError.js:13:11)\n at new APIError (C:\\postgres-express-react-node-tutorial\\server\\controllers\\helpers\\APIError.js:29:5)\n at app.use (C:\\postgres-express-react-node-tutorial\\app.js:71:15)\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:95:5)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7\n at Function.process_params (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:335:12)\n at next (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:275:10)\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:91:12)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7\n at Function.process_params (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:335:12)\n at next (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:275:10)\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:91:12)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7\n at Function.process_params (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:335:12)\n at next (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:275:10)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:635:15\n at next (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:260:14)\n at Function.handle (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:174:3)\n at router (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:47:12)"}},"req":{"url":"/api/signup","headers":{"host":"127.0.0.1:8000","connection":"keep-alive","upgrade-insecure-requests":"1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8","accept-encoding":"gzip, deflate, br","accept-language":"en-US,en;q=0.9","cookie":"_ga=GA1.1.127543770.1533741671; euCookie=1"},"method":"GET","httpVersion":"1.1","originalUrl":"/api/signup","query":{}},"responseTime":3}}
{"level":"\u001b[32minfo\u001b[39m","message":"HTTP GET /api/user/signup 500 23ms","meta":{"res":{"statusCode":500,"body":{"error":"attr.indexOf is not a function"}},"req":{"url":"/api/user/signup","headers":{"host":"127.0.0.1:8000","connection":"keep-alive","upgrade-insecure-requests":"1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8","accept-encoding":"gzip, deflate, br","accept-language":"en-US,en;q=0.9","cookie":"_ga=GA1.1.127543770.1533741671; euCookie=1"},"method":"GET","httpVersion":"1.1","originalUrl":"/api/user/signup","query":{}},"responseTime":23}}
{"level":"\u001b[32minfo\u001b[39m","message":"HTTP GET /api/user/contact 500 30ms","meta":{"res":{"statusCode":500,"body":{"error":"attr.indexOf is not a function"}},"req":{"url":"/api/user/contact","headers":{"host":"127.0.0.1:8000","connection":"keep-alive","upgrade-insecure-requests":"1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8","accept-encoding":"gzip, deflate, br","accept-language":"en-US,en;q=0.9","cookie":"_ga=GA1.1.127543770.1533741671; euCookie=1"},"method":"GET","httpVersion":"1.1","originalUrl":"/api/user/contact","query":{}},"responseTime":30}}
{"level":"\u001b[32minfo\u001b[39m","message":"HTTP POST /api/user/signup 500 1224ms","meta":{"res":{"statusCode":500,"body":{"error":"Validation error: Username already in use!,\nValidation error: Email already in use!"}},"req":{"url":"/api/user/signup","headers":{"content-type":"application/x-www-form-urlencoded","cache-control":"no-cache","postman-token":"94f9c1b6-7706-40aa-8855-e415c69c1774","authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6Imdvb2Rib3kiLCJpZCI6OCwiZW1haWwiOiJ1cmNoaWhlQGdtYWlsLmNvbSIsImlhdCI6MTU0MTk2MDE0N30.TwvTCIxxyFd2U5yCGnN4Igna8oR7FuoRRfFaILt6YOY","user-agent":"PostmanRuntime/7.4.0","accept":"*/*","host":"localhost:8000","accept-encoding":"gzip, deflate","content-length":"207","connection":"keep-alive"},"method":"POST","httpVersion":"1.1","originalUrl":"/api/user/signup","query":{},"body":{"content":"who is here","title":"God is Great","username":"goodboy","password":"express","email":"urchihe@gmail.com","phone":"09898883423","mobile":"08130148603","address":"uchennaihe","fullname":"ujhjfhdjhdokwy","complete":"656546","id":"4"}},"responseTime":1224}}
{"level":"\u001b[32minfo\u001b[39m","message":"HTTP GET / 404 76ms","meta":{"res":{"statusCode":404,"body":{"message":"Not Found","stack":"APIError: API not found\n at new ExtendableError (C:\\postgres-express-react-node-tutorial\\server\\controllers\\helpers\\APIError.js:13:11)\n at new APIError (C:\\postgres-express-react-node-tutorial\\server\\controllers\\helpers\\APIError.js:29:5)\n at app.use (C:\\postgres-express-react-node-tutorial\\app.js:71:15)\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:95:5)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7\n at Function.process_params (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:335:12)\n at next (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:275:10)\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:91:12)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7\n at Function.process_params (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:335:12)\n at next (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:275:10)\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:91:12)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7\n at Function.process_params (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:335:12)\n at next (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:275:10)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express-winston\\index.js:353:9\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:95:5)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7"}},"req":{"url":"/","headers":{"host":"127.0.0.1:8000","connection":"keep-alive","upgrade-insecure-requests":"1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8","accept-encoding":"gzip, deflate, br","accept-language":"en-US,en;q=0.9","cookie":"_ga=GA1.1.127543770.1533741671; euCookie=1"},"method":"GET","httpVersion":"1.1","originalUrl":"/","query":{}},"responseTime":76}}
{"level":"\u001b[32minfo\u001b[39m","message":"HTTP GET /user/signin 404 3ms","meta":{"res":{"statusCode":404,"body":{"message":"Not Found","stack":"APIError: API not found\n at new ExtendableError (C:\\postgres-express-react-node-tutorial\\server\\controllers\\helpers\\APIError.js:13:11)\n at new APIError (C:\\postgres-express-react-node-tutorial\\server\\controllers\\helpers\\APIError.js:29:5)\n at app.use (C:\\postgres-express-react-node-tutorial\\app.js:71:15)\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:95:5)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7\n at Function.process_params (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:335:12)\n at next (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:275:10)\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:91:12)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7\n at Function.process_params (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:335:12)\n at next (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:275:10)\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:91:12)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7\n at Function.process_params (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:335:12)\n at next (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:275:10)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express-winston\\index.js:353:9\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:95:5)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7"}},"req":{"url":"/user/signin","headers":{"content-type":"application/x-www-form-urlencoded","cache-control":"no-cache","postman-token":"029d0f9c-c3f4-4809-914e-dea6c6540470","authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6Imdvb2Rib3kiLCJpZCI6OCwiZW1haWwiOiJ1cmNoaWhlQGdtYWlsLmNvbSIsImlhdCI6MTU0MTk2MDE0N30.TwvTCIxxyFd2U5yCGnN4Igna8oR7FuoRRfFaILt6YOY","user-agent":"PostmanRuntime/7.4.0","accept":"*/*","host":"127.0.0.1:8000","accept-encoding":"gzip, deflate","connection":"keep-alive"},"method":"GET","httpVersion":"1.1","originalUrl":"/user/signin","query":{}},"responseTime":3}}
{"level":"\u001b[32minfo\u001b[39m","message":"HTTP GET /user/signin 404 1ms","meta":{"res":{"statusCode":404,"body":{"message":"Not Found","stack":"APIError: API not found\n at new ExtendableError (C:\\postgres-express-react-node-tutorial\\server\\controllers\\helpers\\APIError.js:13:11)\n at new APIError (C:\\postgres-express-react-node-tutorial\\server\\controllers\\helpers\\APIError.js:29:5)\n at app.use (C:\\postgres-express-react-node-tutorial\\app.js:71:15)\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:95:5)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7\n at Function.process_params (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:335:12)\n at next (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:275:10)\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:91:12)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7\n at Function.process_params (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:335:12)\n at next (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:275:10)\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:91:12)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7\n at Function.process_params (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:335:12)\n at next (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:275:10)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express-winston\\index.js:353:9\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:95:5)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7"}},"req":{"url":"/user/signin","headers":{"content-type":"application/x-www-form-urlencoded","cache-control":"no-cache","postman-token":"94b19c25-bf6e-464b-bcce-18ade31b06f5","authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6Imdvb2Rib3kiLCJpZCI6OCwiZW1haWwiOiJ1cmNoaWhlQGdtYWlsLmNvbSIsImlhdCI6MTU0MTk2MDE0N30.TwvTCIxxyFd2U5yCGnN4Igna8oR7FuoRRfFaILt6YOY","user-agent":"PostmanRuntime/7.4.0","accept":"*/*","host":"127.0.0.1:8000","accept-encoding":"gzip, deflate","connection":"keep-alive"},"method":"GET","httpVersion":"1.1","originalUrl":"/user/signin","query":{}},"responseTime":1}}
{"level":"\u001b[32minfo\u001b[39m","message":"HTTP GET /user/signin 404 15ms","meta":{"res":{"statusCode":404,"body":{"message":"Not Found","stack":"APIError: API not found\n at new ExtendableError (C:\\postgres-express-react-node-tutorial\\server\\controllers\\helpers\\APIError.js:13:11)\n at new APIError (C:\\postgres-express-react-node-tutorial\\server\\controllers\\helpers\\APIError.js:29:5)\n at app.use (C:\\postgres-express-react-node-tutorial\\app.js:72:15)\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:95:5)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7\n at Function.process_params (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:335:12)\n at next (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:275:10)\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:91:12)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7\n at Function.process_params (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:335:12)\n at next (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:275:10)\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:91:12)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7\n at Function.process_params (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:335:12)\n at next (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:275:10)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express-winston\\index.js:353:9\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:95:5)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7"}},"req":{"url":"/user/signin","headers":{"content-type":"application/x-www-form-urlencoded","cache-control":"no-cache","postman-token":"dbb4efc1-33fa-4391-8114-b4cc938ba600","authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6Imdvb2Rib3kiLCJpZCI6OCwiZW1haWwiOiJ1cmNoaWhlQGdtYWlsLmNvbSIsImlhdCI6MTU0MTk2MDE0N30.TwvTCIxxyFd2U5yCGnN4Igna8oR7FuoRRfFaILt6YOY","user-agent":"PostmanRuntime/7.4.0","accept":"*/*","host":"127.0.0.1:8000","accept-encoding":"gzip, deflate","connection":"keep-alive"},"method":"GET","httpVersion":"1.1","originalUrl":"/user/signin","query":{}},"responseTime":15}}
{"level":"\u001b[32minfo\u001b[39m","message":"HTTP GET /api/user/signin 500 173ms","meta":{"res":{"statusCode":500,"body":{"error":"attr.indexOf is not a function"}},"req":{"url":"/api/user/signin","headers":{"content-type":"application/x-www-form-urlencoded","cache-control":"no-cache","postman-token":"eacec3e1-ac3d-483a-8b1f-8059da707ce1","authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6Imdvb2Rib3kiLCJpZCI6OCwiZW1haWwiOiJ1cmNoaWhlQGdtYWlsLmNvbSIsImlhdCI6MTU0MTk2MDE0N30.TwvTCIxxyFd2U5yCGnN4Igna8oR7FuoRRfFaILt6YOY","user-agent":"PostmanRuntime/7.4.0","accept":"*/*","host":"127.0.0.1:8000","accept-encoding":"gzip, deflate","connection":"keep-alive"},"method":"GET","httpVersion":"1.1","originalUrl":"/api/user/signin","query":{}},"responseTime":173}}
{"level":"\u001b[31merror\u001b[39m","message":"middlewareError","meta":{"error":[{"name":"APIError","status":400,"isPublic":true,"isOperational":true}],"level":"error","message":"uncaughtException: (no error message)\n No stack trace","exception":true,"date":"Mon Nov 12 2018 14:39:26 GMT+0100 (W. Central Africa Standard Time)","process":{"pid":13348,"uid":null,"gid":null,"cwd":"C:\\postgres-express-react-node-tutorial","execPath":"C:\\Program Files\\nodejs\\node.exe","version":"v8.11.3","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\postgres-express-react-node-tutorial\\app.js"],"memoryUsage":{"rss":43769856,"heapTotal":25038848,"heapUsed":21730624,"external":33196}},"os":{"loadavg":[0,0,0],"uptime":520123.2796726},"trace":[],"req":{"url":"/api/user/signin","headers":{"content-type":"application/x-www-form-urlencoded","cache-control":"no-cache","postman-token":"c0455507-c609-4d66-bb87-fbfa44675368","authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6Imdvb2Rib3kiLCJpZCI6OCwiZW1haWwiOiJ1cmNoaWhlQGdtYWlsLmNvbSIsImlhdCI6MTU0MTk2MDE0N30.TwvTCIxxyFd2U5yCGnN4Igna8oR7FuoRRfFaILt6YOY","user-agent":"PostmanRuntime/7.4.0","accept":"*/*","host":"127.0.0.1:8000","accept-encoding":"gzip, deflate","content-length":"0","connection":"keep-alive"},"method":"POST","httpVersion":"1.1","originalUrl":"/api/user/signin","query":{},"body":{}}}}
{"level":"\u001b[31merror\u001b[39m","message":"middlewareError","meta":{"error":[{"name":"APIError","status":400,"isPublic":true,"isOperational":true}],"level":"error","message":"uncaughtException: (no error message)\n No stack trace","exception":true,"date":"Mon Nov 12 2018 14:43:15 GMT+0100 (W. Central Africa Standard Time)","process":{"pid":13792,"uid":null,"gid":null,"cwd":"C:\\postgres-express-react-node-tutorial","execPath":"C:\\Program Files\\nodejs\\node.exe","version":"v8.11.3","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\postgres-express-react-node-tutorial\\app.js"],"memoryUsage":{"rss":43606016,"heapTotal":25563136,"heapUsed":22068440,"external":120131}},"os":{"loadavg":[0,0,0],"uptime":520351.7657433},"trace":[],"req":{"url":"/api/user/signin","headers":{"content-type":"application/x-www-form-urlencoded","cache-control":"no-cache","postman-token":"7f250d82-0587-4714-81cf-4d466dcafbde","authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6Imdvb2Rib3kiLCJpZCI6OCwiZW1haWwiOiJ1cmNoaWhlQGdtYWlsLmNvbSIsImlhdCI6MTU0MTk2MDE0N30.TwvTCIxxyFd2U5yCGnN4Igna8oR7FuoRRfFaILt6YOY","user-agent":"PostmanRuntime/7.4.0","accept":"*/*","host":"127.0.0.1:8000","accept-encoding":"gzip, deflate","content-length":"23","connection":"keep-alive"},"method":"POST","httpVersion":"1.1","originalUrl":"/api/user/signin","query":{},"body":{"content":"who is here"}}}}
{"level":"\u001b[32minfo\u001b[39m","message":"HTTP GET / 404 2ms","meta":{"res":{"statusCode":404,"body":{"message":"Not Found","stack":"APIError: API not found\n at new ExtendableError (C:\\postgres-express-react-node-tutorial\\server\\controllers\\helpers\\APIError.js:13:11)\n at new APIError (C:\\postgres-express-react-node-tutorial\\server\\controllers\\helpers\\APIError.js:29:5)\n at app.use (C:\\postgres-express-react-node-tutorial\\app.js:71:15)\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:95:5)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7\n at Function.process_params (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:335:12)\n at next (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:275:10)\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:91:12)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7\n at Function.process_params (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:335:12)\n at next (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:275:10)\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:91:12)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7\n at Function.process_params (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:335:12)\n at next (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:275:10)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express-winston\\index.js:353:9\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:95:5)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7"}},"req":{"url":"/","headers":{"content-type":"application/x-www-form-urlencoded","cache-control":"no-cache","postman-token":"27868892-67d7-4cad-9563-dd2b977bc330","authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6Imdvb2Rib3kiLCJpZCI6OCwiZW1haWwiOiJ1cmNoaWhlQGdtYWlsLmNvbSIsImlhdCI6MTU0MTk2MDE0N30.TwvTCIxxyFd2U5yCGnN4Igna8oR7FuoRRfFaILt6YOY","user-agent":"PostmanRuntime/7.4.0","accept":"*/*","host":"127.0.0.1:8000","accept-encoding":"gzip, deflate","content-length":"23","connection":"keep-alive"},"method":"GET","httpVersion":"1.1","originalUrl":"/","query":{},"body":{"content":"who is here"}},"responseTime":2}}
{"level":"\u001b[32minfo\u001b[39m","message":"HTTP GET / 404 2ms","meta":{"res":{"statusCode":404,"body":{"message":"Not Found","stack":"APIError: API not found\n at new ExtendableError (C:\\postgres-express-react-node-tutorial\\server\\controllers\\helpers\\APIError.js:13:11)\n at new APIError (C:\\postgres-express-react-node-tutorial\\server\\controllers\\helpers\\APIError.js:29:5)\n at app.use (C:\\postgres-express-react-node-tutorial\\app.js:71:15)\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:95:5)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7\n at Function.process_params (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:335:12)\n at next (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:275:10)\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:91:12)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7\n at Function.process_params (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:335:12)\n at next (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:275:10)\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:91:12)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7\n at Function.process_params (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:335:12)\n at next (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:275:10)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express-winston\\index.js:353:9\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:95:5)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7"}},"req":{"url":"/","headers":{"content-type":"application/x-www-form-urlencoded","cache-control":"no-cache","postman-token":"fda89431-5c72-4140-a5a4-9c735212ad4c","authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6Imdvb2Rib3kiLCJpZCI6OCwiZW1haWwiOiJ1cmNoaWhlQGdtYWlsLmNvbSIsImlhdCI6MTU0MTk2MDE0N30.TwvTCIxxyFd2U5yCGnN4Igna8oR7FuoRRfFaILt6YOY","user-agent":"PostmanRuntime/7.4.0","accept":"*/*","host":"127.0.0.1:8000","accept-encoding":"gzip, deflate","content-length":"23","connection":"keep-alive"},"method":"GET","httpVersion":"1.1","originalUrl":"/","query":{},"body":{"content":"who is here"}},"responseTime":2}}
{"level":"\u001b[32minfo\u001b[39m","message":"HTTP POST /user/signin 404 70ms","meta":{"res":{"statusCode":404,"body":{"message":"Not Found","stack":"APIError: API not found\n at new ExtendableError (C:\\postgres-express-react-node-tutorial\\server\\controllers\\helpers\\APIError.js:13:11)\n at new APIError (C:\\postgres-express-react-node-tutorial\\server\\controllers\\helpers\\APIError.js:29:5)\n at app.use (C:\\postgres-express-react-node-tutorial\\app.js:71:15)\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:95:5)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7\n at Function.process_params (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:335:12)\n at next (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:275:10)\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:91:12)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7\n at Function.process_params (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:335:12)\n at next (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:275:10)\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:91:12)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7\n at Function.process_params (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:335:12)\n at next (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:275:10)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express-winston\\index.js:353:9\n at Layer.handle [as handle_request] (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\layer.js:95:5)\n at trim_prefix (C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:317:13)\n at C:\\postgres-express-react-node-tutorial\\node_modules\\express\\lib\\router\\index.js:284:7"}},"req":{"url":"/user/signin","headers":{"content-type":"application/x-www-form-urlencoded","cache-control":"no-cache","postman-token":"2a202ecd-a286-4376-9c43-68841208410d","authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6Imdvb2Rib3kiLCJpZCI6OCwiZW1haWwiOiJ1cmNoaWhlQGdtYWlsLmNvbSIsImlhdCI6MTU0MTk2MDE0N30.TwvTCIxxyFd2U5yCGnN4Igna8oR7FuoRRfFaILt6YOY","user-agent":"PostmanRuntime/7.4.0","accept":"*/*","host":"127.0.0.1:8000","accept-encoding":"gzip, deflate","content-length":"23","connection":"keep-alive"},"method":"POST","httpVersion":"1.1","originalUrl":"/user/signin","query":{},"body":{"content":"who is here"}},"responseTime":70}}
{"level":"\u001b[31merror\u001b[39m","message":"middlewareError","meta":{"error":[{"name":"APIError","status":400,"isPublic":true,"isOperational":true}],"level":"error","message":"uncaughtException: (no error message)\n No stack trace","exception":true,"date":"Mon Nov 12 2018 15:45:37 GMT+0100 (W. Central Africa Standard Time)","process":{"pid":9260,"uid":null,"gid":null,"cwd":"C:\\postgres-express-react-node-tutorial","execPath":"C:\\Program Files\\nodejs\\node.exe","version":"v8.11.3","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\postgres-express-react-node-tutorial\\bin\\www"],"memoryUsage":{"rss":44527616,"heapTotal":26611712,"heapUsed":21918408,"external":25537}},"os":{"loadavg":[0,0,0],"uptime":524093.7440083},"trace":[],"req":{"url":"/api/user/signin","headers":{"content-type":"application/x-www-form-urlencoded","cache-control":"no-cache","postman-token":"0ed9dc25-a6d2-4cf4-8dcb-21cd83660a96","authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6Imdvb2Rib3kiLCJpZCI6OCwiZW1haWwiOiJ1cmNoaWhlQGdtYWlsLmNvbSIsImlhdCI6MTU0MTk2MDE0N30.TwvTCIxxyFd2U5yCGnN4Igna8oR7FuoRRfFaILt6YOY","user-agent":"PostmanRuntime/7.4.0","accept":"*/*","host":"127.0.0.1:8000","accept-encoding":"gzip, deflate","content-length":"23","connection":"keep-alive"},"method":"POST","httpVersion":"1.1","originalUrl":"/api/user/signin","query":{},"body":{"content":"who is here"}}}}
{"level":"\u001b[31merror\u001b[39m","message":"middlewareError","meta":{"error":[{"name":"APIError","status":400,"isPublic":true,"isOperational":true}],"level":"error","message":"uncaughtException: (no error message)\n No stack trace","exception":true,"date":"Mon Nov 12 2018 15:50:58 GMT+0100 (W. Central Africa Standard Time)","process":{"pid":9260,"uid":null,"gid":null,"cwd":"C:\\postgres-express-react-node-tutorial","execPath":"C:\\Program Files\\nodejs\\node.exe","version":"v8.11.3","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\postgres-express-react-node-tutorial\\bin\\www"],"memoryUsage":{"rss":44969984,"heapTotal":26611712,"heapUsed":22221848,"external":26094}},"os":{"loadavg":[0,0,0],"uptime":524414.5318944},"trace":[],"req":{"url":"/api/user/signin","headers":{"content-type":"application/x-www-form-urlencoded","cache-control":"no-cache","postman-token":"85676db8-f006-4385-90ed-0acc078a34c6","authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6Imdvb2Rib3kiLCJpZCI6OCwiZW1haWwiOiJ1cmNoaWhlQGdtYWlsLmNvbSIsImlhdCI6MTU0MTk2MDE0N30.TwvTCIxxyFd2U5yCGnN4Igna8oR7FuoRRfFaILt6YOY","user-agent":"PostmanRuntime/7.4.0","accept":"*/*","host":"127.0.0.1:8000","accept-encoding":"gzip, deflate","content-length":"23","connection":"keep-alive"},"method":"POST","httpVersion":"1.1","originalUrl":"/api/user/signin","query":{},"body":{"content":"who is here"}}}}
{"level":"\u001b[31merror\u001b[39m","message":"middlewareError","meta":{"error":[{"name":"APIError","status":400,"isPublic":true,"isOperational":true}],"level":"error","message":"uncaughtException: (no error message)\n No stack trace","exception":true,"date":"Mon Nov 12 2018 15:53:20 GMT+0100 (W. Central Africa Standard Time)","process":{"pid":9260,"uid":null,"gid":null,"cwd":"C:\\postgres-express-react-node-tutorial","execPath":"C:\\Program Files\\nodejs\\node.exe","version":"v8.11.3","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\postgres-express-react-node-tutorial\\bin\\www"],"memoryUsage":{"rss":45191168,"heapTotal":26611712,"heapUsed":22424280,"external":34819}},"os":{"loadavg":[0,0,0],"uptime":524557.2701057},"trace":[],"req":{"url":"/api/user/signin","headers":{"content-type":"application/x-www-form-urlencoded","cache-control":"no-cache","postman-token":"cc128f95-84e7-4f2a-ac5b-d01cbfccbd5d","authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6Imdvb2Rib3kiLCJpZCI6OCwiZW1haWwiOiJ1cmNoaWhlQGdtYWlsLmNvbSIsImlhdCI6MTU0MTk2MDE0N30.TwvTCIxxyFd2U5yCGnN4Igna8oR7FuoRRfFaILt6YOY","user-agent":"PostmanRuntime/7.4.0","accept":"*/*","host":"127.0.0.1:8000","accept-encoding":"gzip, deflate","content-length":"23","connection":"keep-alive"},"method":"POST","httpVersion":"1.1","originalUrl":"/api/user/signin","query":{},"body":{"content":"who is here"}}}}
{"level":"\u001b[32minfo\u001b[39m","message":"HTTP POST /api/user/signin 200 512ms","meta":{"res":{"statusCode":200,"body":{"message":"You have sucessfully loggedin!","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6Imdvb2Rib3kiLCJpZCI6OCwiZW1haWwiOiJ1cmNoaWhlQGdtYWlsLmNvbSIsImlhdCI6MTU0MjAzNDQyNX0.8KdrCaBO4qe0xqoAB8dbRAN12mdzLkS8pK0WMVVHKL4","user":{"id":8,"username":"goodboy","email":"urchihe@gmail.com","password":"express","createdAt":"2018-11-11T11:20:17.769Z","updatedAt":"2018-11-11T11:20:17.769Z"}}},"req":{"url":"/api/user/signin","headers":{"content-type":"application/x-www-form-urlencoded","cache-control":"no-cache","postman-token":"37c55872-64b4-40f0-84a5-e73cf85d0223","authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6Imdvb2Rib3kiLCJpZCI6OCwiZW1haWwiOiJ1cmNoaWhlQGdtYWlsLmNvbSIsImlhdCI6MTU0MTk2MDE0N30.TwvTCIxxyFd2U5yCGnN4Igna8oR7FuoRRfFaILt6YOY","user-agent":"PostmanRuntime/7.4.0","accept":"*/*","host":"127.0.0.1:8000","accept-encoding":"gzip, deflate","content-length":"83","connection":"keep-alive"},"method":"POST","httpVersion":"1.1","originalUrl":"/api/user/signin","query":{},"body":{"content":"who is here","username":"goodboy","password":"express","email":"urchihe@gmail.com"}},"responseTime":512}}