Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 1.2 KB

README.md

File metadata and controls

58 lines (40 loc) · 1.2 KB

Demo app for Kubernetes

Application using Angular as frontend and NodeJs as backend which uses PostgresSQL as the database.

Kubernetes deployment files can be found in demo-app-deploy

Getting started

Setup

cd demo-app-frontend

Build the docker image of your frontend

docker build . -t  <tag_name>

Check if the image is built by running the following command

docker images

Do the same for server app

cd demo-app-server

Build the docker image of your server

docker build . -t <tag_name>

Check if the image is built by running the following command

docker images

Bring up the kubernetes deloyments and services neccessary for the app to function

cd demo-app-deploy/

kubectl apply -f deployments/

kubectl apply -f services/

Access the app from this link http://locahost:30005

You can remap the ports in demo-app-deploy/services