diff --git a/jms/package.json b/jms/package.json new file mode 100755 index 0000000..376e670 --- /dev/null +++ b/jms/package.json @@ -0,0 +1,25 @@ +{ + "name": "websocket-jms-tutorial", + "version": "1.0.0", + "description": "Demo application for Kaazing WebSocket client library", + "main": "index.html", + "scripts": {}, + "repository": { + "type": "git", + "url": "https://github.com/kaazing/javascript.client.demos/jms" + }, + "keywords": [ + "websocket", + "javascript", + "kaazing", + "jms" + ], + "author": "Kaazing Corporation", + "license": "MIT", + "dependencies": { + "express": "^4.13.4", + "jquery": "^2.2.3", + "kaazing-javascript-gateway-client": "^4.4.2", + "npm-modernizr": "^2.8.3" + } +} diff --git a/jms/server.js b/jms/server.js new file mode 100755 index 0000000..8e650a4 --- /dev/null +++ b/jms/server.js @@ -0,0 +1,10 @@ +// Server code for the ReactJS starter app - run with node.js +var express = require('express'); +var app = express(); +var http = require('http').Server(app); +app.use(express.static(__dirname + 'node_modules')); +app.use(express.static(__dirname)); + +http.listen(3000, function () { + console.log('listening on *:3000'); +});