Web Design and User Experience Engineering
hello professor and TA,
for proper working of the file we will be needing node.js web sockets-socket.io express mongodb
once installed go to the path location-
- once node and mongodb are installed run mongodb (for running mongo instructions are at the bottom of the page).
- open gitbash or run command prompt and go the the project location inside Chat folder
- run the command 'node install' -(if not working could run [node express install --save for all the dependencies persent inside the server file]) 4.one every dependencies are installed run 'node server'.
- and run the localhost:3000 -for chat server which uses socket.io for handshaking,
- if want to run the home page the run the wamp and run on localhost
Running of mongodb -
- open cmd and go to the mongodb's bin location (make sure to run as administration if its on C drive)
- run the command -'mongod'
- open other terminal and go to the mongodb file location and run the command -'mongo'
- check if the connectivity is made.