-In both dev and prod environments we have Node configured to run on port 3000, with Apache proxying it across to port 80. The reason for Apache is so that we can use other tech stacks alongside Node.
-
-macOS comes with an Apache installation built in. We just need to configure it a little bit.
-
-First, we’ll edit the main Apache configuration file.
-
-```
-sudo vim /private/etc/apache2/httpd.conf
-```
-
-The following individual lines each need to be uncommented:
-Finally, let’s restart Apache so it picks up the changes.
-
-```
-sudo apachectl restart
-```
-
-If you end up installing a macOS update you should go through the Apache configuration section again, as your Apache config in `httpd.conf` may have been restored to the default.
-
## MariaDB
Next we’ll set up a MariaDB user and a fresh database. We’ll start by opening up a console using the `mysql` command.