• Nodejs Error: Could not autodetect OpenSSL support

    OpenSSL development packages not installed So you are ready to install Node on your Ubuntu box and run ./configure, to which you are greeted by a nasty looking error: Could not autodetect OpenSSL sup...

  • Express.js: Custom 404 and 500 error pages

    How to create custom Express.js error pages Express does a good job of handling 404 and 500 errors by default. However, many a times, the error is page is now what we would like it to look like. Is t...

  • Express.js: Writing middleware

    How to write Express.js middleware First, let's understand what an Express middleware is. An Express middleware is a function which is allowed to be a part of Express's request-response cycle. This f...