diff --git a/client/index.js b/client/index.js index c9cd42f..92bf9ca 100644 --- a/client/index.js +++ b/client/index.js @@ -1 +1,4 @@ +require('./services/socket') + + console.log('hello world') \ No newline at end of file diff --git a/client/services/socket.js b/client/services/socket.js new file mode 100644 index 0000000..d43db27 --- /dev/null +++ b/client/services/socket.js @@ -0,0 +1,4 @@ +const io = require('socket.io-client'); + +const socket = io('http://localhost:3000'); +