Node.js-based Catalogue Microservice designed for cloud-native deployment with Docker, CI/CD automation, and integrated security scanning.
This service is part of a microservices architecture and includes:
- π³ Dockerized build
- π Jenkins + GitHub Actions CI/CD
- π SonarQube code quality analysis
- π Trivy container security scanning
- π¦ Amazon ECR image publishing
- π€ Dependabot dependency updates
- βΈοΈ Kubernetes-ready deployment
- Node.js
- Docker
- Jenkins
- GitHub Actions (Reusable Workflows)
- SonarQube
- Trivy
- AWS ECR
- Kubernetes
catalogue/
βββ .github/workflows/ # GitHub Actions workflows
βββ db/ # Database related files
βββ Dockerfile # Container build definition
βββ Jenkinsfile # Jenkins pipeline
βββ server.js # Application entry point
βββ package.json # Node dependencies
βββ sonar-project.properties # SonarQube config
βββ .security-baseline.json # Security baseline config
npm installdocker build -t catalogue-service . This repository uses:
- Reusable GitHub Actions workflow
- Jenkins Shared Library
- Automated Docker image build
- SonarQube code scan
- Trivy security scan
- Push to Amazon ECR
- Code pushed to feature/main branch
- GitHub Actions triggers reusable workflow
- SonarQube analysis runs
- Docker image builds
- Trivy scans image
- Image pushed to ECR
- Deployment triggered (if configured)
- main β Production-ready code
- feature/* β Feature development branches
Reusable workflow handles feature-based deployments.