Open thepian opened 8 years ago
express-js has a very nice API if you just need a little extra real-time magic. It is clearly quite popular.
express-js
With the new application task approach it should be possible to remove task definitions from the app.js
application
With gulp-socketstream the start could be overridden and socketstream be embedded
gulp-socketstream
socketstream
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
Make screen cast showing how to add SocketStream to a MEAN demo app
Interesting.
The basic support for express is already on develop. I will need some input/ideas on what API to expose on the Express App.
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.jsWith
gulp-socketstream
the start could be overridden andsocketstream
be embeddedPerhaps
Takes over the listen call to do it via the socket server