Skip to content

cdxvy30/foliage

Repository files navigation

foliage

This repository consists of backend service and infrastructure configuration for Foliage which is a real-time ledger information service.

System Architecture

image

OPA

/policy contains the Rego defined policies to decide whether a service can access to specific resource and whether a service can be deployed to specific environment. /data defines the data used in evaluation stage in JSON. Dockerfile can help deploy OPA as a containerized service.

Pub/Sub

Real-time ledger information is achieved by Pub/Sub mechanism of Redis and WebSocket. Refer to /emitter-service and /subscriber-service.

Infra

/terraform contains IaC configuration for the serverless service we use (Google Cloud Run).