Skip to content
Starting point for the practical-microservices workshop
JavaScript HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
exercises
migrations Adds step 15, wiring the Application layer Jan 8, 2020
script Adds system skeleton Jan 7, 2020
src Adds step 16, aggregating the video list Jan 8, 2020
test Sets up handling Move command Jan 7, 2020
.env Sets up handling Move command Jan 7, 2020
.gitignore Commit verification script Dec 15, 2019
.npmrc Commit verification script Dec 15, 2019
README.md Adds info about a database viewer Jan 6, 2020
docker-compose.yml Commit verification script Dec 15, 2019
package.json Adds step 15, wiring the Application layer Jan 8, 2020

README.md

Practical Microservices Workshop

More will come later, but for right now, this repo will verify that you can install and run what you need to for the workshop.

This workshop uses Node.js for the code and Docker for running databases.

Installation Instructions

  1. Install Node.js
    • If you're on MacOS or *nix, I recommend nvm
    • If you're on Windows, I've heard good things about nvm-windows
  2. Install Docker for your platform

Install Project Dependencies

From within the project folder, run npm install

Verify Installation

  1. Run databases
  • docker-compose rm -sf && docker-compose up
  1. Run verification script from this repo
  • node script/verify-installation.js
  • Your results should look something like:
$ node script/verify-installation.js
Wrote message: bd78ff30-7802-45e2-bedd-5f34ce6e529d
Read back: {
  "id": "bd78ff30-7802-45e2-bedd-5f34ce6e529d",
  "stream_name": "verification-9d34a597-52d4-4b10-8b1e-955a6cfe283a",
  "type": "InstallationVerified",
  "position": "0",
  "global_position": "2",
  "data": "{\"verified\": \"2019-12-15T07:32:46.103Z\"}",
  "metadata": "{}",
  "time": "2019-12-15T14:32:46.135Z"
}

Other Useful Software

  • A database view, such as TablePlus (https://tableplus.com/). It absolutely does not have to be this particular one, but you will benefit greatly from having something that will let you view the contents of the databases started in the docker-compose.yml file.
You can’t perform that action at this time.