What should be logged in Nodejs? [closed] - node.js

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
We are starting out a new Nodejs project, and I am working on wiring up Winston to Loggly.
Since we are new to node, my question is, what is typically information that should be logged and in what format for Loggly to accept it? What do you guys find helpful when going through the logs, i.e, remote address, method where error happend, etc... ?

This Ultimate Guide to Logging in Node give some some good ideas you can use as a starting point. It also gives you tips on how to troubleshoot common problems. I helped put the team together to write it. It's an open source guide, and we take suggestions on topics and content from the community.

Related

Node.js for Backend [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 1 year ago.
Improve this question
What is the best way to learn practical Node.js?
I want to be a Node.js developer.
All the courses I found on the Internet (paid or unpaid) seems to have little to very basic knowledge of Node.
These courses are unable to full fill my thirst for knowledge.
Kindly recommend me a good source to learn Node.js.
Yes I am asking for your Opinion.
Read the documentation and learn the best practices. Once you learn to control the flow, you can do anything with it. My suggestion would be to find a problem statement and try to solve that using Node.

As a web developer what should my 1st step for web site security? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I know how to build a site. But I don't know how to save it from a hacker.
You can spend ages on this, but assuming you're starting from scratch, I'd go with the following:
Read your framework/language security guide. For example if you're writing the web app in PHP/Symfony, read https://symfony.com/doc/current/book/security.html and https://secure.php.net/manual/en/security.php (this should be short and easy application of best practices / tweaking known settings)
Read anything relevant on OWASP. It may be hard to do all of it, but some sections to point out are: Top 10 web issues, Development guide, Cheat sheets.
Keep applying what you learned and read more :)

What is the Best Practice for dropping the support of old browsers? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
If you are making a Website which will not support IE8 and all browsers older then that. Whats the best practice for that? Should there just be an alert and the Site should show anyways (and look bad) or should the site completly be replaced by a warning?
Personally the approach I would take is similar to that of viewing a website on a mobile device, sometimes you will get a warning saying the website is not compatible. I.E like you said replace the website with a warning, possibly suggesting that the user updates their browser. Hope this helps!

How To Integrate NodeJS and Phonegap For RealTime Data [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I would like to create a realtime chat phonegap app using nodejs for realtime. But I am not even sure whether it is possible or not.I am a newbie to nodejs. I really appreciate any answers.
There is a lot of solution to create a real time chat in node js.
I will advice following one of those tutorial that were really useful to me.
http://tutorialzine.com/2014/03/nodejs-private-webchat/
http://socket.io/get-started/chat/
Make it work locally on your web browser and it will need only little UI modification to make it work on devices. Hope this help.

How do they checks for vulnerabilities on Apple Store application? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I know that when you submit an application for Apple Store, it gets tested: if they find a vulnerability the application gets reject.
How do they do this checking? How accurate is it? What vulnerabilities are most likely to get accepted, fooling the test?
Apple isn't the only one, Mozilla also does this for their add-ons. In both cases, its a mix of developers reading though the code aided by static code analysis.

Resources