Skip to content

tamizhvendan/CafeApp

Repository files navigation

Build Status

A Real World Business Application using F# and Suave

F# port of Edument's DDD, EventSourcing and CQRS sample application implementation in C#

Highlights

  • Continuous Integration using Travis-CI
  • Continuous Deployment using Docker
  • UI development React and Redux
  • Cleaner DSLs for writing Unit Tests
  • Build Automation using FAKE and Paket
  • DDD using F# Type System
  • EventSourcing using NEventStore
  • Web APIs and Web Socket Communication using Suave

Steps To Run

  • Install Docker

  • Clone the Repo

    git clone git@github.com:tamizhvendan/CafeApp.git
  • Go the root directory in the shell/command prompt and run the following command

    CafeApp$ docker build -t tamizhvendan/cafeapp:0.1 .
  • After successful docker build, Run the docker container

    CafeApp$ docker run --name cafeapp -p 8083:8083 tamizhvendan/cafeapp:0.1
  • Access the application in your browser

    Linux Users - http://localhost:8083 Windows & Mac - http://192.168.99.100:8083 (192.168.99.100 is based on your docker setup)

Documentation

For more details on the implementation, check out the last chapter of my book "F# Applied"