Skip to content

labcabrera/rmu-fe-host

Repository files navigation

Rolemaster Unified Frontend

Microfront-end based implementation with Rolemaster Unified’s React.

Modules

Module

Repository

Local

API Core

https://github.com/labcabrera/rmu-api-core

http://localhost:3001/v1

API Strategic

https://github.com/labcabrera/rmu-api-strategic

http://localhost:3002/v1

API Tactical

https://github.com/labcabrera/rmu-api-tactical

http://localhost:3003/v1

API NPC

https://github.com/labcabrera/rmu-api-npc

http://localhost:3004/v1

API Attack Tables

https://github.com/labcabrera/rmu-api-attack-tables

http://localhost:3005/v1

API Items

https://github.com/labcabrera/rmu-api-npc

http://localhost:3006/v1

MicroFrontend Host

https://github.com/labcabrera/rmu-fe-host

http://localhost:8080

MicroFrontend Strategic

https://github.com/labcabrera/rmu-fe-strategic

http://localhost:8082/strategic

MicroFrontend Tactical

https://github.com/labcabrera/rmu-fe-tactical

http://localhost:8083/tactical

MicroFrontend NPC

https://github.com/labcabrera/rmu-fe-npc

http://localhost:8084/npc

Local execution

We can directly start the application with Node:

npm install -y

npm start

Minikube

Create image and push to docker hub

docker build -t labcabrera/rmu-fe-host:latest .

docker push labcabrera/rmu-fe-host:latest

Configuration with argocd

minikube start

minikube dashboard

kubectl create namespace rmu-main

# enable ingress
minikube addons enable ingress

kubectl create namespace argocd

kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml

kubectl get pods -n argocd

kubectl patch svc argocd-server -n argocd -p '{"spec": {"type": "NodePort"}}'

# check port
kubectl get svc -n argocd

# get service url
minikube service argocd-server -n argocd
minikube service rmu-fe-host-service -n rmu-main
minikube delete