Skip to content

Instantly share code, notes, and snippets.

@pmlopes pmlopes/package.json
Created Jul 10, 2015

Embed
What would you like to do?
vert.x3 for javascript developers
{
"name": "vertx3-hello",
"private": true,
"dependencies": {
"vertx3-min": "3.0.0-1"
},
"scripts": {
"start": "./node_modules/.bin/vertx run server.js"
}
}
vertx.createHttpServer()
.requestHandler(function (req) {
req.response()
.putHeader("content-type", "text/plain")
.end("Hello from Vert.x!");
}).listen(8080);
@pmlopes

This comment has been minimized.

Copy link
Owner Author

pmlopes commented Jul 10, 2015

To run you code: npm start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.