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.
- Host: GitHub
- URL: https://github.com/typelead/eta-fib-service
- Owner: typelead
- License: bsd-3-clause
- Created: 2018-01-17T13:29:43.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-29T17:32:02.000Z (almost 8 years ago)
- Last Synced: 2025-04-09T05:06:36.256Z (about 1 year ago)
- Language: Haskell
- Size: 3.91 KB
- Stars: 8
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE
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.