No description or website provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
services
.gitignore
.jshintrc
.npmrc
LICENSE
README.md
docker-compose.yml
ping.png

README.md

Microservice Ping Pong

http://mherman.org/presentations/microservice-ping-pong

Want to learn how to build this project?

Check out the blog post.

Want to use this project?

  1. Fork/Clone this repo

  2. Download Docker (if necessary)

  3. Make sure you are using a Docker version >= 17:

    $ docker -v
    Docker version 17.09.0-ce, build afdb6d4
  4. Set the environment variables:

    $ export REACT_APP_BASE_URL=http://DOCKER_MACHINE_IP
  5. Build and tag the node-base image:

    $ docker build -t node-base ./services/node
  6. Fire up the containers

    $ docker-compose up -d --build
  7. Lint and test:

    $ docker-compose run node-john gulp lint
    $ docker-compose run node-john npm test