GitHub - jasonjlock/node-env: A Node.js development environment using Docker Compose.

A Node.js development environment using Docker Compose.

Getting Started

Download and install Docker for Mac or Windows.

Clone this repository:

git clone https://github.com/jasonjlock/node-env.git

Change directories to the new repository:

How To Use

Start the Docker containers:

Running this step for the first time builds the container images. This process can take a while.

this starts Nginx and Node.js containers. Nginx is a reverse proxy passing requests to the Node.js server.

What Next

While the containers are running, visit http://localhost in your browser.

Add dependencies, write some code, and run it:

docker exec -it nodeenv_app_1 node your_code.js

Stop the running containers:

Helpful Resources