-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NodeJs app is created to practice and understand build tools of Java…
…Script.
- Loading branch information
1 parent
dc2a19e
commit e312029
Showing
5 changed files
with
726 additions
and
0 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
Build_tools/JavaScript_Applicaiton_Build_tools/my-nodejs-app/.gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules/ | ||
my-nodejs-app-1.0.0.tgz/ |
12 changes: 12 additions & 0 deletions
12
Build_tools/JavaScript_Applicaiton_Build_tools/my-nodejs-app/app.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 added
BIN
+421 Bytes
Build_tools/JavaScript_Applicaiton_Build_tools/my-nodejs-app/my-nodejs-app-1.0.0.tgz
Binary file not shown.
Oops, something went wrong.