Auto Store Builder is a fully automated e-commerce store provisioning platform built using:
- Docker
- Kubernetes (Minikube / K3s)
- Helm
- Nginx Ingress
- Node.js (Backend)
- Next.js (Frontend)
Users can create two types of stores:
- WordPress (WooCommerce)
- Medusa JS (Headless Commerce)
When a user clicks "Create Store", the system automatically:
- Executes a Helm command from the backend
- Creates Kubernetes resources (Pod, Service, Ingress)
- Maps domain dynamically
- Generates admin credentials
- Makes the store live
No manual DevOps work required.
- WooCommerce plugin pre-installed in Docker image
- Admin credentials auto-generated
- Ready-to-use after deployment
Example (slug: papa):
Customer: https://papa.instaconnector.in
Admin: https://papa.instaconnector.in/wp-admin
Deployment Flow:
- Backend Admin deployed
- Admin credentials auto-created
- Publishable key generated
- Frontend connected via publishable key
Example (slug: papa):
API: https://api-papa.instaconnector.in
Admin: https://admin-papa.instaconnector.in/app
Storefront: https://papa.instaconnector.in
Used for development and testing.
docker --version
node -v
npm -v
kubectl version --client
minikube versionminikube start --driver=docker
minikube addons enable ingressVerify:
kubectl get nodes
kubectl get pods -Aminikube tunnelcurl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
helm versioncd server
npm install
npm startTest:
curl http://localhost:5000cd client
npm install
npm run devOpen:
helm install papa ./charts/store --set ingress.host=papa.localCheck:
kubectl get pods
kubectl get ingresskubectl describe pod <pod-name>
kubectl logs <pod-name>
minikube dashboardProduction runs on a single Azure VM.
Components:
- Next.js Frontend
- Node.js Backend
- K3s (Kubernetes)
- Nginx (Reverse Proxy)
- Ingress-Nginx
- Helm
sudo apt update && sudo apt upgrade -y
sudo apt install -y curl wget git nginx net-toolscurl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt install -y nodejs
sudo npm install -g pm2Start apps:
pm2 start npm --name "backend" -- start
pm2 start npm --name "frontend" -- start
pm2 save
pm2 startupcurl -sfL https://get.k3s.io | sh -s - --disable traefik
sudo chmod 644 /etc/rancher/k3s/k3s.yaml
export KUBECONFIG=/etc/rancher/k3s/k3s.yaml
kubectl get nodeskubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/cloud/deploy.yaml
kubectl get pods -n ingress-nginxcurl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
helm versionsudo nano /etc/nginx/sites-available/[your-site-domain]
sudo ln -s /etc/nginx/sites-available/[your-site-domain] /etc/nginx/sites-enabled/
sudo nginx -t
sudo systemctl restart nginxsudo apt install -y certbot python3-certbot-nginx
sudo certbot --nginx -d instaconnector.in
sudo certbot certonly --manual --preferred-challenges dns -d "*.instaconnector.in"Allow:
- 22 (SSH)
- 80 (HTTP)
- 443 (HTTPS)
The platform automatically provisions isolated container-based e-commerce stores using Kubernetes and Helm, with dynamic domain routing via Nginx Ingress.