Node.js can be used for a variety of tasks, including scripting to do tasks, running a web server, and serving static files, such as a website. Today, we'll go over the procedures to test a Node.js HTTP web API.
MailHog is an email-testing tool that hides behind a fake SMTP server. It wraps the SMTP protocol with extensions and doesn't need any special backend implementations. MailHog is a very basic SMTP server that takes all outgoing emails given to it.