At MHacks, we utilize Docker to containerize our application so that whether you are using linux, macOS, or Windows, you run exactly the same as everyone else. There are a lot of other advantages to docker too. All the dependencies are automatically installed for you, it is great for ease of deployment, it provides good isolation and security, and much more.
git clone https://github.com/mhacks/mhacks-web
cd mhacks-web/deploy/
docker-compose -f development.yml up -d
docker-compose -f production.yml up -d
http://localhost:3000
and start developing!This will start the necessary containers and hook you into their output. In addition to being able to see what is happening, you can stop the containers easily by just Ctrl-Cing out of them.
DEBUG=* docker-compose -f development.yml up -d
When working exclusively on backend, you don't want to wait for Webpack to reload the frontend on each save, especially when you haven't changed anything there.
APIWORK=true docker-compose -f development.yml up -d