robbrockbank / yaobank

Yet Another Online Bank (Demo App)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

YAO Bank

(Yet Another Online Bank)

Demo Application for Kubernetes suitable for showing authorization policy.

Consists of 3 microservices:

  1. database - a single-cluster etcd database. Stores the state for the demo.
  2. summary - HTTP service that returns JSON account summaries.
  3. customer - Front-end web service that displays account summaries to users.

service graph

User icon By MCruz (WMF) (Own work) [CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0)], via Wikimedia Commons

The transaction and teller microservices are microservices that a bank teller would use to process deposits and withdrawals. They don't feature in the policy demo directly, so have not been built yet.

How to run

Set up the deployments, service accounts, and services.

kubectl apply -f 10-yaobank.yaml

If using Istio, then run the following to set up the Istio Ingress to the application.

kubectl apply -f 20-ingress.yaml

About

Yet Another Online Bank (Demo App)

License:Apache License 2.0


Languages

Language:Python 43.6%Language:Dockerfile 30.5%Language:HTML 26.0%