Skip to content
/ FbApp Public

Playground application for trying out new technologies, libraries, frameworks, patterns, tools etc.

Notifications You must be signed in to change notification settings

janno-p/FbApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FbApp

Playground application for trying out new technologies, libraries, frameworks, patterns, tools etc.

Primary Objectives

Prerequisites

Run local application

Development environment

Quick Start

Configure Google OAuth authentication

Use Google Developer Console to register new application for Google authentication:

  • Authorized JavaScript Origins: https://localhost:8090
  • Authorized redirect URIs: https://localhost:8090/connect/google/callback

Add src/FbApp.Auth/appsettings.user.json configuration file with credentials provided by Google client application registration.

{
  "Authentication": {
    "Google": {
      "ClientId": "<redacted>",
      "ClientSecret": "<redacted>"
    }
  }
}

Configure kubernetes cluster

Install dapr

helm repo add dapr https://dapr.github.io/helm-charts/

helm repo update

helm upgrade --install dapr dapr/dapr \
--namespace dapr-system \
--create-namespace \
--wait

kubectl port-forward service/dapr-dashboard 8080:8080 --namespace dapr-system

Install ingress controller

helm repo add dapr https://kubernetes.github.io/ingress-nginx

helm repo update

helm upgrade --install ingress-nginx ingress-nginx/ingress-nginx \
--namespace ingress-nginx \
--create-namespace \
--set controller.config.use-forwarded-headers=true
--set controller.service.ports.https=8090
--wait

Run development environment

$ tilt up

Open Tilt Dashboard to monitor running components.

Open Application for demo.

Misc.

docker context ls
docker context user default

\\wsl$\docker-desktop-data\data\k8s-pvs

kubectl exec --stdin --tty fbapp-api-database-mongodb-0 -n fbapp -- /bin/bash

About

Playground application for trying out new technologies, libraries, frameworks, patterns, tools etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published