devinchen / ChatRoom

This chatroom made by nodejs + express + socket.io + swig

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description

Backend

nodejs + express + socket.io

Frontend

jQuery + swig + bootstrap

How to use

First:

git clone https://github.com/SimonSun1988/ChatRoom.git

Install

npm install

Config server

You should change io.connect() in public/js/index.js.

Change your server ip like this var socket = io.connect("http://server_ip").

Start

sudo node app.js 

Add your own mood images

You can add your own mood images in public/imgs/

And then?

Open your browser, and type http://localhost:3000 , LET'S CHAT ONLINE

Login

ChatRoom

Chat!!!!

About

This chatroom made by nodejs + express + socket.io + swig