Welcome to an early preview of VS Code Integration live on Katacoda.com
Copy the following code into the editor to create a Node.js demo application!
var http = require('http'); var requestListener = function (req, res) { res.writeHead(200); res.end('Hello, World!'); } var server = http.createServer(requestListener); server.listen(3000, function() { console.log("Listening on port 3000")});
Launch with node app.js
Visit the server via the URL http://[[CLIENT_SUBDOMAIN]]-3000-[[KATACODA_HOST]].environments.katacoda.com/
We'd love to hear your feedback on the integration!