https://github.com/rstm-sf/clientservercrud
A simple client-server CRUD application written on F#
https://github.com/rstm-sf/clientservercrud
bulma-css cross-platform dotnet efcore elmish fable fsharp giraffe js spa sqlite
Last synced: 2 months ago
JSON representation
A simple client-server CRUD application written on F#
- Host: GitHub
- URL: https://github.com/rstm-sf/clientservercrud
- Owner: rstm-sf
- License: mit
- Created: 2021-05-19T06:09:59.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-19T13:19:05.000Z (about 5 years ago)
- Last Synced: 2025-06-06T13:02:24.361Z (about 1 year ago)
- Topics: bulma-css, cross-platform, dotnet, efcore, elmish, fable, fsharp, giraffe, js, spa, sqlite
- Language: F#
- Homepage:
- Size: 267 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Client-Server-CRUD

## About
A simple CRUD web application written in F#. Usage:
- [Elmish](https://elmish.github.io/elmish/) for Elm-style SPA.
- [Fable](https://fable.io/) for compiling F# code to JS.
- [Bulma](https://bulma.io/) as the CSS framework.
- [Giraffe](https://giraffe.wiki/) as the web server.
- [EFCore.FSharp](https://github.com/efcore/EFCore.FSharp) as the ORM.
- [SQLite](https://www.sqlite.org/index.html) as the storage.
## Install pre-requisites
You'll need to install the following pre-requisites in order to build applications
* The [.NET SDK](https://dotnet.microsoft.com/download/dotnet) 5.0 or higher.
* [npm](https://nodejs.org/en/download/) package manager.
* [Node LTS](https://nodejs.org/en/download/).
## Starting the application
Start the server:
```ps1
cd src\Server\
dotnet watch run
```
Start the client:
```ps1
npm install
npm start
```
Open a browser to `http://localhost:8080` to view the site.