Setting up a Node.js Express server to use within Docker is useful. Docker will be helpful to quickly mock up some api endpoints and keep environments simple.
In the next article we will go through what it will take to deploy this Docker container to Heroku with Gitlab.
Creating our working directory
Let’s create a directory we can work out of. In this directory we will have all our files to run a Node.js Express server, and a Docker container.