Skip to content

foklepoint/fibonacci-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fibonacci-service

Simple service to calculate fibonacci

Running

$ go get github.com/foklepoint/fibonacci-service/
$ fibonacci-service& # Run our service in the background
$ curl -X POST localhost:8080/calculate -d '{ "nth": 12 }'
# Kill the service using kill -9 %

Building a minimal docker binary and running it

$ make
$ docker run -p 8080:8080 fibonacci-service
$ curl -X POST localhost:8080/calculate -d '{ "nth": 12345 }'

About

Fibonacci microservice built using go-kit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published