The-NodeJS-Master-Class
The-NodeJS-Master-Class copied to clipboard
Code samples for the Node.js Master Class
2 things: 1. when we have to export config file to index.js, code in config should mention correct module/ in this lecture the export "environmentToExport" does not directly noticed.. as...
Hi to all, I getting an error from twilio when sending the request through the post method shown in lecture 18 of the Building a RESTful API section.  ...
Thanks for such a great course; I think its one of the best Node courses currently available. I'm a fan of reading source code unguided and so I have spent...
code in the datafile is `lib.baseDir = path.join(__dirname, '/../.data/');` in git bash it indicates when run for test err, ``` $ node index.js file:///E:/Learn/lib/data.js:15 lib.baseDir = path.join(__dirname, '/../.data/'); ^ ReferenceError:...
handler._users[data.method](data,callback); 
Hi, This is not an issue but I'm not sure where else should I put this request. Any of you have dockerized the API?
An error is popping up when i go to the localhost:3000 `app.js:87 Uncaught TypeError: Cannot read property 'addEventListener' of null at Object.app.bindForms (app.js:87) at Object.app.init (app.js:142) at window.onload (app.js:147) app.bindForms...
The previous code seems the be a copy of the 'update' function. I'm just sending the 'delete' function that is in the course. Thanks a lot! It's by far the...
**In OpenSSL website I could only see download for mac os or osx whatever but it is not present in windows so what can I do**
how complete the ftruncate ? with/withtout callback(false)? my code in RESTful API is : lib.update=function(dir,file,data, callBack){ //Open the file for writing fs.open(lib.baseDir+dir+'/'+file+'.json', 'r+',function(err,fileDescriptor){ if(!err && fileDescriptor){ var stringData = JSON.stringify(data);...