/eta-fib-service

A simple web service that can compute the Fibonacci sequence.

Primary LanguageHaskellBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Eta Fibonacci Service

This repository hosts the code for the fibonacci service example in the Web Service tutorial.

Running

etlas run

This will start a server at http://localhost:9000.

There's a single endpoint:

GET /fibonacci/:n

Where the :n can be replaced with a non-negative integer.