/Webapp-devops

Some of my Devops deployments of the simple webapp

Primary LanguageTypeScript

Deployments

This project is a web application with a React frontend, a NestJS backend, and a MySQL database, all managed and deployed using Docker/K8s/Helm. Reverse proxy is implemented with NGINX.

alt text

alt text

Technologies

  • Frontend: React, Nginx
  • Backend: NestJS, Node.js
  • Database: MySQL

Docker

Prerequisites

Installation

Clone the repository:

git clone https://github.com/your-username/my-webapp.git
cd my-webapp

Running the application

Run the container

docker compose up -d 

K8s

Images for services are pulled from DockerHub repository

Run

Install docker or any other virtualization technology

Install minikube & kubectl (optional)

Run in CLI

launch everything yourself with

kubectl apply -f *.yaml

or

minikube kubectl -- apply -f 

Helm

Install helm here

Launch

minikube start

helm install frontend ./frontend
helm install backend ./backend
helm install db ./db