Skip to content

SuchSoftware/practical-microservices-old-2

Repository files navigation

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 v12.13.1
    • 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
  • nvm use
  • npm install
  • 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"
}

Slides

There are slides for this workshop.

Instructor Guide

The script we'll follow is in the instructor-guide.md file in this repo.

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published