initial files
This commit is contained in:
parent
c5c2b2fa05
commit
7ac34d28a4
3 changed files with 34 additions and 0 deletions
11
script.js
Normal file
11
script.js
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import http from 'http';
|
||||
|
||||
const server = http.createServer((req, res) => {
|
||||
res.statusCode = 200;
|
||||
res.end("Hello, World");
|
||||
});
|
||||
|
||||
|
||||
server.listen(3000, () => {
|
||||
console.log("Server -> 3000");
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue