Skip to content

letschers/grpc-klever

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backend JR - opção 2

  • The Technical Challenge consists of creating an API with Golang using gRPC with stream pipes that exposes an Upvote service endpoints. The API will provide the user an interface to upvote or downvote a known list of the main Cryptocurrencies (Bitcoin, ethereum, litecoin, etc..).

Technical requirements

  • Keep the code in Github
  • The API must have a read, insert, delete and update interfaces.
  • The API must guarantee the typing of user inputs. If an input is expected as a string, it can only be received as a string.
  • The API must contain unit test of methods it uses
  • You can choose the database but the structs used with it should support Marshal/Unmarshal with bson, json and struct

Extra

  • Deliver the whole solution running in some free cloud service
  • The API have a method that stream a live update of the current sum of the votes from a given Cryptocurrency

How to run

  1. Clone repository
git clone https://github.com/letschers/grpc-klever
  1. Install dependencies with go mod tidy
go mod tidy
  1. Run Server
make run_server
  1. Run Client for a sample of use
make run_client

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages