Awesome
F# Giraffe API with tests template
How to use it
Clone the repo!
Requirements
Editor capable of working with F#, I personally recommend:
Other options:
Stuff inside API
Take a look at similar
Stuff inside TESTS
How to run:
- api -
cd api && dotnet run
- tests -
cd tests && dotnet test
What if I don't want tests?
Just remove the tests
folder!
Why make this template?
Comparison with Saturn template I already made This template is meant a nice fresh start, without much complication
Routes to test:
- 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