Skip to content

Commit

Permalink
NodeJs app is created to practice and understand build tools of Java…
Browse files Browse the repository at this point in the history
…Script.
  • Loading branch information
Suraj-kumar00 committed Jul 19, 2024
1 parent dc2a19e commit e312029
Show file tree
Hide file tree
Showing 5 changed files with 726 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules/
my-nodejs-app-1.0.0.tgz/
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// app.js
const express = require('express');
const app = express();
const port = 3000;

app.get('/', (req, res) => {
res.send('Hello, World!');
});

app.listen(port, () => {
console.log(`Example app listening at http://localhost:${port}`);
});
Binary file not shown.
Loading

0 comments on commit e312029

Please sign in to comment.