Sending data over HTTPS instead of HTTP is a good security practice, and actually mandatory if your server ever has to send sensitive, secure data over the web. There are many kinds of attacks that are avoided by setting up an encrypted connection with the client browser, so let's see how we can implement secure connections with Node and Express.
In this recipe, we will cover how to enable HTTPS so that our server becomes more secure.