This project demonstrates a complete CI/CD pipeline for a Node.js application using:
- Jenkins for automation
- SonarQube for code quality analysis
- Nexus for artifact storage
- Nginx as a reverse proxy for deployment
The pipeline ensures code quality, artifact versioning, and automated deployment for smooth DevOps workflows.
Make sure you have the following installed and configured:
- Jenkins with required plugins:
- Pipeline
- NodeJS
- SonarQube Scanner
- Nexus Artifact Uploader
- SonarQube Server (Running on a separate server or as a Docker container)
- Nexus Repository Manager (Configured to store artifacts)
- Nginx (For reverse proxy and deployment)
- EC2 Instance / Vagrant VM (To host the Node.js app)
π¦ NodeJS-CI-CD
β£ π src # Application Source Code
β£ π tests # Unit & Integration Tests
β£ π Jenkinsfile # Jenkins Pipeline as Code
β£ π sonar-project.properties # SonarQube Config
β£ π nginx.conf # Nginx Configuration
β£ π package.json # Node.js Dependencies
β π README.md # Project Documentation