This project is a simple Node.js application that demonstrates a Continuous Integration and Continuous Deployment (CI/CD) pipeline using Jenkins.
- Simple Node.js web application
- Unit tests using Mocha and Chai
- CI/CD pipeline to automate building, testing, and deploying the application
- Node.js
- Express
- Mocha (for testing)
- Chai (for assertions)
- Jenkins (for CI/CD)
- Clone the repository:
git clone https://github.com/Mahimachavalam009/sample-pipeline cd my-node-app
- Install dependencies: Ensure you have Node.js installed. Then, run:
npm install
- Run the application: Start the server with:
node app.js
- Access the application at http://localhost:3000.
- To run the tests for the application, use the following command:
npm test