From c65ff1261ceebdc866e95b68109c89380b0d06a8 Mon Sep 17 00:00:00 2001 From: faratbagawan786 Date: Mon, 3 Feb 2025 12:25:23 +0530 Subject: [PATCH 1/7] change message --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 541532ebe..0eb9edfd7 100644 --- a/app.js +++ b/app.js @@ -2,7 +2,7 @@ const express = require('express'); const app = express(); const port = 8080; -app.get('/', (req, res) => res.send('Hello World!')); +app.get('/', (req, res) => res.send('Hello Farat Bagawan!')); app.listen(port); console.log(`App running on http://localhost:${port}`); From 699a2c09a38cb9b19629b28a32eb124ef2833582 Mon Sep 17 00:00:00 2001 From: farat123 <4485farat@gmail.com> Date: Mon, 3 Feb 2025 12:48:08 +0530 Subject: [PATCH 2/7] change message --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 0eb9edfd7..ae9965bec 100644 --- a/app.js +++ b/app.js @@ -2,7 +2,7 @@ const express = require('express'); const app = express(); const port = 8080; -app.get('/', (req, res) => res.send('Hello Farat Bagawan!')); +app.get('/', (req, res) => res.send('Hello Farat Bagawan!!')); app.listen(port); console.log(`App running on http://localhost:${port}`); From 56cc40b8a82692bd177bc5ce9902d2b73bf0ed14 Mon Sep 17 00:00:00 2001 From: farat123 <4485farat@gmail.com> Date: Mon, 3 Feb 2025 12:51:59 +0530 Subject: [PATCH 3/7] change message --- .vscode/settings.json | 3 +++ aws-elastic-beanstalk-express-js-sample | 1 + 2 files changed, 4 insertions(+) create mode 100644 .vscode/settings.json create mode 160000 aws-elastic-beanstalk-express-js-sample diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 000000000..ae6a6f1c0 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "WhiteSource Advise.Diff.BaseBranch": "main" +} \ No newline at end of file diff --git a/aws-elastic-beanstalk-express-js-sample b/aws-elastic-beanstalk-express-js-sample new file mode 160000 index 000000000..eb899a722 --- /dev/null +++ b/aws-elastic-beanstalk-express-js-sample @@ -0,0 +1 @@ +Subproject commit eb899a7225ff1b12af0277ec128d761bb2722366 From 894e2b84c8bd83cd9a871df3bb4d13161013ea30 Mon Sep 17 00:00:00 2001 From: farat123 <4485farat@gmail.com> Date: Mon, 3 Feb 2025 15:24:12 +0530 Subject: [PATCH 4/7] port updated --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index ae9965bec..24c0de99f 100644 --- a/app.js +++ b/app.js @@ -1,6 +1,6 @@ const express = require('express'); const app = express(); -const port = 8080; +const port = 8081; app.get('/', (req, res) => res.send('Hello Farat Bagawan!!')); From 784bd2bd5f2d28a4303be599071005893957a273 Mon Sep 17 00:00:00 2001 From: farat123 <54427563+farat123@users.noreply.github.com> Date: Mon, 3 Feb 2025 15:25:28 +0530 Subject: [PATCH 5/7] Update app.js --- app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index 24c0de99f..99ed7761c 100644 --- a/app.js +++ b/app.js @@ -1,8 +1,8 @@ const express = require('express'); const app = express(); -const port = 8081; +const port = 8080; -app.get('/', (req, res) => res.send('Hello Farat Bagawan!!')); +app.get('/', (req, res) => res.send('Hello Farat syed')); app.listen(port); console.log(`App running on http://localhost:${port}`); From 2ba143d958df919deeba3a08bf47dba7c285886c Mon Sep 17 00:00:00 2001 From: farat123 <54427563+farat123@users.noreply.github.com> Date: Mon, 3 Feb 2025 16:07:18 +0530 Subject: [PATCH 6/7] Create workflows --- .github/workflows | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/workflows diff --git a/.github/workflows b/.github/workflows new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/.github/workflows @@ -0,0 +1 @@ + From f73fd868728f3b544c2a87e7709e130802499923 Mon Sep 17 00:00:00 2001 From: farat123 <4485farat@gmail.com> Date: Mon, 3 Feb 2025 18:15:31 +0530 Subject: [PATCH 7/7] added github actions workflow --- .github/workflows | 1 - .github/workflows/deploy.yml | 28 ++++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) delete mode 100644 .github/workflows create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows b/.github/workflows deleted file mode 100644 index 8b1378917..000000000 --- a/.github/workflows +++ /dev/null @@ -1 +0,0 @@ - diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 000000000..b891120d6 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,28 @@ +name : CI/CD Pipeline +on: + push: + branches: + - main # runs when you push to the main + + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/setup-node@v3 + with: + node-version: 16 + + - name: Install Dependencies + run: npm install + + - name: Run Tests + run: npm test + + - name: Deploy + run: echo "Deploying the application..." + \ No newline at end of file