Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/moimhossain/netcore-microservice-tutorial

This repo contains some very basic code sample that demonstrates one way of designing micro-services, using .net core web api supported by akka.net and running on a Docker Swarm cluster, traffic controlled by an nginx proxy.
https://github.com/moimhossain/netcore-microservice-tutorial

akka-cluster akka-net akka-remoting docker docker-swarm netcore nginx-proxy

Last synced: 3 days ago
JSON representation

This repo contains some very basic code sample that demonstrates one way of designing micro-services, using .net core web api supported by akka.net and running on a Docker Swarm cluster, traffic controlled by an nginx proxy.

Awesome Lists containing this project

README

        

## Caution: **Work in progress** - handle with care!

| |Status|
|:--:|:--:|
|Issues|[![Stories in Ready](https://badge.waffle.io/MoimHossain/netcore-microservice-tutorial.svg?label=ready&title=Ready)](http://waffle.io/MoimHossain/netcore-microservice-tutorial)|
|Build|[![Build Status](https://travis-ci.org/MoimHossain/netcore-microservice-tutorial.svg?branch=master)](https://travis-ci.org/MoimHossain/netcore-microservice-tutorial)|

# netcore-microservice-tutorial
This repo contains some very basic code sample that demonstrates one way of designing micro-services, using .net core web api supported by akka.net and running on a Docker Swarm cluster, traffic controlled by an nginx proxy.

### Steps

- Docker swarm automation template (Azure RM templates)
- Azure Container registry
- Docker stack deployment
- VS Online build integration (CD)
- Akka.net Cluster
- Sticky seed nodes on swarm masters
- CQRS with Actors
- EventStore (GetEventStore on .NET)
- .NET Core web API
- NGINX proxies (HA and Reverse proxies) to web APIs
- ReactJS Front End application

### Run

Kick UI container
```
docker run -d -p 3000:3000 spa-ui
```
Kick API
```
docker run -d -p 5000:5000 eisen-api
```
Kick Router
```
docker run -d -p 8086:80 app-router
```

### Purpose
This demo is prepared for a personal talk. But my intention is to take it to a good shape overtime that can illustrate/visualize micro-service architectures running on container clusters. Any remarks..? Please reach out! Thanks.