Skip to content
This repository has been archived by the owner on Sep 27, 2022. It is now read-only.

gothinkster/fsharp-realworld-example-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RealWorld Example App

RealWorld Fsharp (Suave + Mongo) codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API.

Installation

  • Install .NET Core 2.0 Framework from here .NET Core and Fsharp per Fsharp.org
  • Download MongoDB from here MongoDB
  • Create the mongo db (this can be done easily with Mongo Compass)
  • Clone this repo
  • Execute the following command on the command line in the directory that has the web framework that you would like to try: dotnet restore
  • Execute: dotnet run - This should start the server and you should be able to use a tool like Postman according to the RealWorld spec.

How it works

When possible the Suave application are divided up into 2 sectors, pure functions and "effectful" functions. All of the "effectful" functions are contained in the effects namespace. These functions in this namespace are in charge of communicating with the database.

Getting started

Prerequisites:

  • See installation section.

About

Exemplary real world application built with F#

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages