coinbase

command module
v0.0.0-...-e4fb214 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

README

Technical Assessment (SRE)

Part 1) Using the language of your choice, create a simple webservice that returns a json object containing spot price data from coinbase (https://api.coinbase.com/v2/prices/spot?currency=USD) on requests to /<currency>.

The endpoint should minimally support: EUR, GBP, USD and JPY. This service should be run in a container. The container should be built via github actions.

Include a /health endpoint that returns 200 if the application is running.

Part 2) Expand the Github Actions used to create the container to create some simple tests. The test should attempt to connect to the mock service and should fail if the json object cannot parsed, or if the currency does not exist.

Optional extras:

  • Include a /metrics or /health endpoint that reports simple health metrics
  • Integrate slack messaging into the github actions or directly into the application
  • Build a helm chart to deploy the service via github actions
  • Write terraform that can deploy the container into AWS (ECS, EKS, ec2, lambda)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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