Skip to content

yclicourt/react-deploy-example

Repository files navigation

Basic Application Frontend Using React + Vite

This demo app using React + Vitejs, TailwindCSS,Nginx, Docker, GitHub-Actions,Terraform, Minikube

Requirements

nodejs >= 18.20.2

Instruction

  1. Install dependencies
npm install
  1. Test Code
npm run test
  1. Start API
 npm run dev

Use Docker Compose

  1. Run this command
docker-compose up

Use Minikube Kubernetes Cluster

  1. Initialize minikube cluster
minikube start
  1. Create namespace
kubectl create ns <namespace>
  1. Apply manifest
kubectl apply -f -R folder/ or file.yml
  1. Access the url
minikube service <service> -n <namespace> --url

Use Terraform

  1. Initialize the project and download the provider
terraform init
  1. Check the resources to be deployed
terraform plan
  1. Deploy the resources
terraform apply

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published