An open API service indexing awesome lists of open source software.

https://github.com/angelmunoz/giraffarig

Small Skeleton of a F# Web API with MongoDB and Giraffe
https://github.com/angelmunoz/giraffarig

fsharp giraffe mongodb netcore webapi

Last synced: about 2 months ago
JSON representation

Small Skeleton of a F# Web API with MongoDB and Giraffe

Awesome Lists containing this project

README

        

[MongoDB]: https://www.mongodb.com/
[Giraffe]: https://github.com/giraffe-fsharp/Giraffe
[.Net Core]: https://dotnet.microsoft.com/download

# Giraffarig!

This is a F# Skeleton for some of my personal projects using [.Net Core], [MongoDB] and [Giraffe].

### Things to do after cloning
- Don't forget to rename your `Giraffarig` references yo your project's name
- Change your Enviromental Variables/Variables names in `Properties/launchSettings.json` and inside the code
- Change your Database Name in `Db.fs`
- Run `dotnet tool restore`
- Run `dotnet paket restore`

#### Disclaimer
I'm not good at F#. I think this language finally clicking on me with this sample API.
I think I should be able to start digging deeper into F# for more use cases than just a simple Jwt Login now.

#### Found Something Wrong?
I do intend to learn F# more, but first of all I'm not much into mystic currying/partial application/composition (just about enough) so be gentle with me.

That being said, please feel free to raise an issue and point out bad patterns you might spot as well as bugs