section_2/

directory
v0.0.0-...-ed93953 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2019 License: MIT

README

Microservices -- Create Frontend and Stats Service :

  • Frontend service is an http rest API which communicate with the rest of the world
  • Stats is a backend service which communicate with frontend microservices via GRPC
  • GO-KIT microservices toolkit is used

Run both Stats and Frontend services and use following commands to test functionality.

curl http://localhost:8080/bestplayers/Tottenham%20Hotspur

curl --header "Content-Type: application/json" --request GET --data '{"league":"League"}' http://localhost:8080/table

curl --header "Content-Type: application/json" --request GET --data '{"position":"Defender"}' http://localhost:8080/bestposition
position can be replaced with Forward and Midfielder  

Blog Posts :

Directories

Path Synopsis
frontend module
stats module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL