How sanketpatil461/devops-swiggy-app works
This repository is a Swiggy-style restaurant discovery frontend packaged as a DevOps deployment project. A visitor loads the React app, which renders navigation, offers, restaurant listings, and discovery links. The README also describes a deployment/tooling workflow involving Terraform, Jenkins, containerization, security checks, and Argo CD/Kubernetes manifests. Frontend composition is visible in sampled source; deployment-tool relationships are documented only at a high level, so those links are shown as unverified.
Main entry points: App.js Page composition · jenkinsfile Jenkins pipeline · index.js React entry · Dockerfile Container image
Components 19
Restaurant frontend
- React entry
src/index.js - Page composition
src/App.js - Navigation
src/Components/Navigate.jsx - Footer
src/Components/Footer.jsx
Discovery content
- Offers and cuisines
src/Components/OffersBanner.jsx - Restaurant chains
src/Components/RestaurentChain.jsx - Online restaurants
src/Components/RestaurentOnline.jsx - City and cuisine links
src/Components/BestRest.jsx
Build and delivery
- Jenkins pipeline
jenkinsfile - Container image
Dockerfile
Infrastructure deployment
- Terraform infrastructure
main.tf - Argo CD deployment
ArgoCD/deployment.yml - Kubernetes service
ArgoCD/service.yml
Other components
- Visitor
- GitHub
- SonarQube
- OWASP checks
- Trivy scan
- Docker Hub
Connections 16
- Visitor → React entry: loads
src/index.js - React entry → Page composition: renders
src/index.js - Page composition → Navigation: renders
src/App.js - Page composition → Offers and cuisines: renders
src/App.js - Page composition → Restaurant chains: renders
src/App.js - Page composition → Online restaurants: renders
src/App.js - Page composition → City and cuisine links: renders
src/App.js - Page composition → Footer: renders
src/App.js - GitHub → Jenkins pipeline: triggers pipeline
- Jenkins pipeline → SonarQube: runs analysis
- Jenkins pipeline → OWASP checks: runs checks
- Jenkins pipeline → Trivy scan: scans image
- Jenkins pipeline → Container image: builds image
- Container image → Docker Hub: publishes image
- Terraform infrastructure → Argo CD deployment: provisions for
- Argo CD deployment → Kubernetes service: exposes workload