-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds test input and basic express server
- Loading branch information
1 parent
0f879aa
commit 6dea88b
Showing
2 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,2 +1,14 @@ | ||
console.log('Hello From Node.js'); | ||
const express = require('express' 4.17.1'); | ||
const app = express(); | ||
const port = 3000; | ||
|
||
|
||
|
||
app.get('/', (req, res) => { | ||
res.send('Hello World!'); | ||
}); | ||
|
||
|
||
app.listen(port, () => { | ||
console.log('Listening at http://localhost:${port}'); | ||
}); |
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,16 @@ | ||
[ | ||
{ | ||
"serialnum": "1000", | ||
"make": "Optiplex 7020", | ||
"OS": "Windows 10", | ||
"Price": "$200", | ||
"specs": [ | ||
"Intel 3rd Generation i5 3470", | ||
"3.4GHz Quad Core, Quad Thread Processor", | ||
"8GB RAM", | ||
"1TB Hard Drive" | ||
] | ||
} | ||
] | ||
|
||
|