-
Notifications
You must be signed in to change notification settings - Fork 7
Home
Juan Julián Merelo Guervós edited this page Mar 14, 2018
·
6 revisions
var project = require('pillars');
project.services.get('http').configure({port:3000}).start();
project.routes.add(new Route({
id: 'Home',
path: '/',
method: ['get','post']
},function(gw){
gw.html("<h1>Hello World!!</h1>");
});
If you are familiar to Node.js start reading Scope section and learn about the main elements in Pillars.js; environment, Route, Gangway and Plugin. You can install Pillars.js and start to test it! Reference and tutorials will be available very soon.
If you are starting with Node.js, start reading Setting Enviroment section and make the first exercises, very soon you will have available tutorials for beginners ;)
All documentation will be available in english and spanish.