Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

StringsDemoRoot

This is root repo for "Go exercise - String encryptor". Demo does consists of following microservices:

Prequesites

docker & docker-compose must be installed

Installation

mkdir -p $GOPATH/src/github.com/xakepp35
cd $GOPATH/src/github.com/xakepp35
git clone https://github.com/xakepp35/StringRandomizerDemo
git clone https://github.com/xakepp35/StringEncryptorDemo
git clone https://github.com/xakepp35/StringsDemoRoot
cd StringsDemoRoot
docker-compose build
docker-compose up

This would build & start 2 microservices On some environment you'll have to use sudo with docker-compose commands (unless your user is not added to group docker)

Usage

  1. Open browser
  2. Type localhost:6002/20 where 20 is number of wanted strings, press enter It would:
  • Generate 20 random strings of length 10-30 characters
  • Send them to encryptor microservice via websocket
  • Await for sha-256 response from encryptor worker pool
  • Output them as raw text in browser

All env configuration is stored in StringsDemoRoot/docker-compose.yml file.

Good luck ;-D

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

⌂ 换网址