Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trumhemcut/dapr-microservices
Leverage the power of Dapr to build microservices on AKS
https://github.com/trumhemcut/dapr-microservices
azure dapr microservices
Last synced: 3 months ago
JSON representation
Leverage the power of Dapr to build microservices on AKS
- Host: GitHub
- URL: https://github.com/trumhemcut/dapr-microservices
- Owner: trumhemcut
- License: mit
- Created: 2019-11-24T16:24:29.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-22T13:17:28.000Z (about 2 years ago)
- Last Synced: 2024-10-14T06:09:46.756Z (4 months ago)
- Topics: azure, dapr, microservices
- Language: TypeScript
- Homepage:
- Size: 2.13 MB
- Stars: 16
- Watchers: 2
- Forks: 4
- Open Issues: 64
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dapr microservices
![Build Status](https://github.com/trumhemcut/dapr-microservices/workflows/simplads-api/badge.svg) ![Build Status](https://github.com/trumhemcut/dapr-microservices/workflows/simplads-vue/badge.svg) ![Build Status](https://github.com/trumhemcut/dapr-microservices/workflows/simplads-resize/badge.svg)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Follow on Twitter](https://img.shields.io/twitter/follow/trumhemcut.svg?style=social&logo=twitter)](https://twitter.com/intent/follow?screen_name=trumhemcut)Leverage the power of Dapr to build microservices application
## Get started
### Step 1 - Pre-requisites
- Kubernetes, it's ok to use Kubernetes on Docker for Win/Mac or Minikube for development environment. Currently I've just tested on Docker for Win/Mac environment (with Kubernetes enabled). Minikube hasn't been tested yet!
- [Helm 3.0](https://github.com/helm/helm/releases), no more Tiller. But please add the repo before we can install:
- [Dapr CLI](https://github.com/dapr/cli), prefer latest version (e.g. 0.3.0)### Step 2 - Setup
First, initialize Dapr on Kubernetes so that it can inject sidecars to our applications:
```
$ dapr init --kubernetes
```Next, clone the source code & install the SimplAds app via Helm:
```
$ git clone https://github.com/trumhemcut/dapr-microservices.git
$ cd dapr-microservices
$ helm dep up ./helm-chart
$ helm install simplads ./helm-chart```
### Step 3 - Change your host file
Since the SimplAds uses Traefik as its main ingress, and using hostnames as the main endpoints. Please add those following hostnames to your host files:
If you're using Mac, add the line below to this file _/etc/hosts_. If you're using Windows, add the line below to this file _C:\Windows\System32\drivers\hosts_
```
127.0.0.1 traefik.dapr.fun dashboard.dapr.fun web.dapr.fun zipkin.dapr.fun
```## Features
After finishing all above steps (it may takes several minutes), you can browse following Urls:
- Web App: https://web.dapr.fun
- Distrubuted tracing: https://zipkin.dapr.fun
- Traefik Ingress: https://traefik.dapr.fun
- Dapr Dashboard: https://dashboard.dapr.fun
- Dapr API endpoint: https://web.dapr.fun/dapr## Architecture
TODO