Clone the repo!
Editor capable of working with F#, I personally recommend:
Other options:
Saturn is built on top of Giraffe Take a look at these templates to compare the difference with other frameworks:
- api -
cd api && dotnet run
- tests -
cd tests && dotnet test
Just remove the tests
folder!
Current Saturn template seems to be a little bit outdated and a lot of templates have full feature enabled from the start. This is of course excellent when you know what you want and what you are doing, but a lot of people are coming to F# very fresh and they ask how to start building backends. This template is meant a nice fresh start for them, without much complication
- Controller example
- http://localhost:5000/add/2/3 => 5
- http://localhost:5000/mul/2/3 => 6
- http://localhost:5000/json => {"language":"F#","message":"Hello World"}
- http://localhost:5000/anyRoute => htmled I |> F# Hello World