Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demonstrate easy enhancement of existing ExpressJS site #22

Open
thepian opened this issue Oct 30, 2015 · 3 comments
Open

Demonstrate easy enhancement of existing ExpressJS site #22

thepian opened this issue Oct 30, 2015 · 3 comments

Comments

@thepian
Copy link
Member

thepian commented Oct 30, 2015

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

@thepian
Copy link
Member Author

thepian commented Oct 30, 2015

Make screen cast showing how to add SocketStream to a MEAN demo app

@arxpoetica
Copy link
Member

Interesting.

@thepian
Copy link
Member Author

thepian commented Nov 2, 2015

The basic support for express is already on develop. I will need some input/ideas on what API to expose on the Express App.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants