Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

readme.md

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

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages

You can’t perform that action at this time.