An open API service indexing awesome lists of open source software.

https://github.com/typelead/eta-fib-service

A simple web service that can compute the Fibonacci sequence.
https://github.com/typelead/eta-fib-service

Last synced: about 1 year ago
JSON representation

A simple web service that can compute the Fibonacci sequence.

Awesome Lists containing this project

README

          

# Eta Fibonacci Service

This repository hosts the code for the fibonacci service example in the [Web Service](https://eta-lang.org/docs/tutorials/web-services/the-api) 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.