Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Zaid-Ajaj/SAFE-TodoList
The simplest Todo app showcasing a client-server application written entirely in F#
https://github.com/Zaid-Ajaj/SAFE-TodoList
Last synced: 3 months ago
JSON representation
The simplest Todo app showcasing a client-server application written entirely in F#
- Host: GitHub
- URL: https://github.com/Zaid-Ajaj/SAFE-TodoList
- Owner: Zaid-Ajaj
- Created: 2017-12-26T18:11:23.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T22:01:25.000Z (almost 2 years ago)
- Last Synced: 2024-04-30T18:30:54.155Z (6 months ago)
- Language: F#
- Size: 1.86 MB
- Stars: 43
- Watchers: 3
- Forks: 8
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SAFE-TodoList [![Build Status](https://travis-ci.org/Zaid-Ajaj/SAFE-TodoList.svg?branch=master)](https://travis-ci.org/Zaid-Ajaj/SAFE-TodoList)
The simplest Todo app showcasing a client-server application written entirely in F# using:
- [Fable](https://github.com/fable-compiler/Fable) for compiling F# code to javascript
- [Elmish](https://github.com/fable-elmish/elmish) for Elm-style single page apps
- [Suave](https://github.com/SuaveIO/suave) as the web server
- [Fable.Remoting](https://github.com/Zaid-Ajaj/Fable.Remoting) for type-safe communication
- [LiteDB.FSharp](https://github.com/Zaid-Ajaj/LiteDB.FSharp) for the storage. App uses the in-memory database.![](./safe-todolist.gif)
### Requirements
- Dotnet 2.0+
- Mono
- Node### Running the app
for developement mode: watching and recompiling both client and server when files change. On the client, hot-reloading is enabled by default```sh
./build.sh RunDevMode # linux
build RunDevMode # windows
```
Then navigate to `http://localhost:8080` where webpack-dev-server is hosting the app.for production: build and bundle client and then run the server:
```sh
./build.sh RunProdMode # linux
build RunProdMode # windows
```
Then navigate to `http://localhost:8085/index.html` where Suave will serve the bundled app