Skip to content

cartermp/GiraffeSample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GiraffeSample

This sample app demonstrates F#, .NET Core, Giraffe, and using Sqlite. You can develop and run it cross-platform.

Instructions

  1. Download the .NET Core 2.0 SDK.
  2. Install Visual Studio Code and Ionide-FSharp.. They're great for cross-platform F# development.
  3. Run dotnet restore before opening the project in VSCode.
  4. Use dotnet watch run for development. It'll recompile and re-run the project when you make changes.

I recommend using Postman to play around with it.

Deployment

This isn't really intended for production, but if you wish to deploy this somewhere, do the following:

  1. Use dotnet publish -o app -c release. This will copy a release version of the app into a new folder called /app, along with every other .dll dependency this app requires.
  2. Put the contents of /app wherever you like.
  3. Run it from there.

About

This sample app demonstrates F#, .NET Core, Giraffe, and using Sqlite. You can develop and run it cross-platform.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages