Skip to content

Demonstrate easy enhancement of existing ExpressJS site #22

Open
@thepian

Description

@thepian

express-js has a very nice API if you just need a little extra real-time magic. It is clearly quite popular.

With the new application task approach it should be possible to remove task definitions from the app.js

With gulp-socketstream the start could be overridden and socketstream be embedded

Perhaps

var socketstream = require('socketstream/gulp');
var express = require('express');
var app = express();
var socketstream = require('socketstream/express')(app);

app.socketstream('...', function(req, stream) {
});

Takes over the listen call to do it via the socket server

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions