DASHA
This commit is contained in:
8
Первое приложение на Nodу/app.js
Normal file
8
Первое приложение на Nodу/app.js
Normal file
@@ -0,0 +1,8 @@
|
||||
const http = require('http');
|
||||
http.createServer(function (request, response) {
|
||||
response.end('Hello NodeJS!');
|
||||
}).listen(3000, '127.0.0.1', function () {
|
||||
console.log(
|
||||
'Сервер начал прослушивание запросов на порту 3000'
|
||||
);
|
||||
})
|
||||
Reference in New Issue
Block a user