Skip to content

Commit

Permalink
Adds test input and basic express server
Browse files Browse the repository at this point in the history
  • Loading branch information
underdorff18 committed Oct 9, 2020
1 parent 0f879aa commit 6dea88b
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
14 changes: 13 additions & 1 deletion JS/index.js
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}');
});
16 changes: 16 additions & 0 deletions JS/testinput.json
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"
]
}
]


0 comments on commit 6dea88b

Please sign in to comment.