| Current Path : /proc/self/root/var/node/inatote/testapp/ |
| Current File : //proc/self/root/var/node/inatote/testapp/hello.js |
const http = require('http');
const hostname = 'localhost';
const port = 3000;
const server = http.createServer((req, res) => {
res.statusCode = 200;
res.setHeader('Content-Type', 'text/html');
res.end('<h1>Here we will deploy Inatote API.</h1>');
});
server.listen(port, hostname, () => {
console.log(`Server running at http://${hostname}:${port}/`);
});