The project provides a RESTful web service.
The web service accepts a number, n, as input and returns the first n Fibonacci numbers, starting from 0. I.e. given n = 5, appropriate output would represent the sequence [0, 1, 1, 2, 3].
Ensure that you have Docker installed.
Build docker container from repository
$ make docker
Or pull it as 'horneds/fibo'.
$ docker pull horneds/fibo
Run the container with choosen port (For example port 8000):
$ docker run -p 8000:8000 horneds/fibo
Make API requests:
$ curl <docker_ip>:8000/
$ curl <docker_ip>:8000/-40
$ curl <docker_ip>:8000/100
Enjoy yourself.
Ensure that you have python3 and virtualenv installed. Run the project's tests:
$ make test