https://github.com/coding4deep/nodejs-sonarqube-project
https://github.com/coding4deep/nodejs-sonarqube-project
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/coding4deep/nodejs-sonarqube-project
- Owner: Coding4Deep
- Created: 2025-03-17T18:37:29.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-03-19T05:46:11.000Z (11 months ago)
- Last Synced: 2025-06-02T16:22:23.673Z (8 months ago)
- Language: JavaScript
- Size: 133 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🚀 Node.js CI/CD Pipeline with Jenkins, SonarQube, Nexus & Nginx
## 📌 Project Overview
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.
## 📋 Prerequisites
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)
## 📂 Folder Structure
```
📦 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
```