express base

var express = require('express'); var app = express(); app.get('/', function(peticion, respuesta){ respuesta.send('Hola mundo desde express'); }) app.listen(3000, function(){ console.log('Escuchando en el puerto 3000'); })

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.