A simple guide to npm, with a briefly introduction to the node package manager, In September 2019 over 1 million packages were reported beign listed in the npm registry, making npm the biggest single language code repository!
The easiest way to read a file in Node is to use the `fs.readFile()` function to asynchronously reads the entire contents of a file. Alternatively, you can use the synchronous version `fs.readFileSync()`
It's common to have images, css, js and more assets in a `public` folder, and expose them to the root level. To do that we just simple use the `express.static` built-in middleware function in Express `static` of express
Security is really hard to get right. There are so many different factors to consider, countless different ways to break an application. As a Node.js developer, you most work with a huge amount of user data, probably some of them being very sensitive.
A short guide of the Express framework with Node.js to create a basic server, that allows you to spin up robust APIs and web servers in an easy and clean way.