Skip to content

Commit 3210470

Browse files
committed
reworked folder structure, moved all code into src/ dir
1 parent bb274db commit 3210470

27 files changed

+260
-7
lines changed

.crossbar/config.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
],
2626
"transports": [
2727
{
28+
"id": "web",
2829
"type": "web",
2930
"endpoint": {
3031
"type": "tcp",
@@ -33,7 +34,7 @@
3334
"paths": {
3435
"/": {
3536
"type": "static",
36-
"directory": "../web"
37+
"directory": "../src/web"
3738
},
3839
"ws": {
3940
"type": "websocket"
@@ -43,13 +44,14 @@
4344
]
4445
},
4546
{
47+
"id": "node_server",
4648
"type": "guest",
4749
"executable": "node",
4850
"arguments": ["server.js"],
4951
"options": {
50-
"workdir": "../node",
52+
"workdir": "../src/node",
5153
"watch": {
52-
"directories": ["../node"],
54+
"directories": ["../src/node"],
5355
"action": "restart"
5456
}
5557
}

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
2-
"name": "hello_nodejs",
2+
"name": "quill",
33
"version": "1.0.0",
4-
"description": "Demo app for using Crossbar.io with Node.js",
5-
"main": "node/hello.js",
4+
"description": "browser based collaborative pen-enabled whiteboard",
5+
"main": "src/node/server.js",
66
"scripts": {
77
"test": "echo \"Error: no test specified\" && exit 1"
88
},
99
"keywords": [
1010
"crossbario",
1111
"wamp"
1212
],
13-
"author": "Tavendo GmbH",
13+
"author": "Viraj Sinha",
1414
"license": "Apache 2.0",
1515
"dependencies": {
1616
"autobahn": "^0.9.5"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)