Skip to content

This is an invitatory chat room using socket.io module of node.js. And it is trying to imitate the chat room in an animation DRRR.

Notifications You must be signed in to change notification settings

bipedalBit/DRRR-chat-room

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DRRR-chat-room

I built the project on Ubuntu Kylin 14.04 with node.js.
You need to install node.js and several modules to get the chat room built.

step 1: install node.js

install node.js
Run "node -v" to confirm node.js has been installed successly.

step 2: install npm

get npm
And if you have installed Git you can clone the project by:
git clone --recursive git://github.com/isaacs/npm.git.
Now you have necessary files. Install npm by running
node cli.js install npm -gf
at the root directory of npm files.

step 3: install modules

You need 3 modules to install and you have npm.
Run:
npm install express -gd,
npm install socket.io -gd and
npm install mysql -gd
to install express module, socket.io module and mysql module globally.
Remove "-gd" in each command to install modules in current directory.

step 4: run the script

Run:
node ./index.js
at the root directory of DRRR-chat-room to start the chat room server.

step 5: check it online

Visit localhost:3000.
There is a default user in the database now with
username: admin
password: secret
and registering new users need invite code from users signed in.

About

This is an invitatory chat room using socket.io module of node.js. And it is trying to imitate the chat room in an animation DRRR.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published