Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/toburger/fable-elasticsearch-demo
https://github.com/toburger/fable-elasticsearch-demo
fable fsharp
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/toburger/fable-elasticsearch-demo
- Owner: toburger
- Created: 2020-02-24T11:01:26.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T08:11:00.000Z (almost 2 years ago)
- Last Synced: 2024-04-15T02:08:58.084Z (8 months ago)
- Topics: fable, fsharp
- Language: F#
- Size: 3.22 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fable Elasticsearch Demo
Saw this blog post about PureScript where the sample code implemented an Elasticsearch API to delete outdated indices:
http://blog.leifbattermann.de/2020/01/26/purescript-case-study-and-guide-for-newcomers/I was curious of how this sample would translate into F# code, and it turned out to be quite elegant!
## Requirements
* [dotnet SDK](https://www.microsoft.com/net/download/core) 3.0 or higher
* [node.js](https://nodejs.org) with [npm](https://www.npmjs.com/)
* An F# editor like Visual Studio, Visual Studio Code with [Ionide](http://ionide.io/) or [JetBrains Rider](https://www.jetbrains.com/rider/).## Building and running the app
* Install JS dependencies: `npm install`
* Go into tests: `dotnet build`
* Go to root folder: `npm run test`