reqly

0.2.0 • Public • Published

reqly

Express helper to quickly run a server with Babelify, LESS and SASS

example

// Local dependencies
var server = require('reqly');
 
// Create server
server.connect('./src', 3333);
 
// Create socket server
server.socket('/', 8080);
// Read RFC-6455 standard for implementation
 
// Get request
server.get('/user/id', function (request, response) {
  // See ExpressJS documentation
});
 
// Post request
server.post('/user/location', function (request, response) {
  // See ExpressJS documentation
});

Package Sidebar

Install

npm i reqly

Weekly Downloads

0

Version

0.2.0

License

none

Last publish

Collaborators

  • bmson