Skip to content
forked from tegioz/chat

Simple Chat built with Node.js, Socket.io, Express & Redis (+ client built with Bootstrap)

Notifications You must be signed in to change notification settings

vsymguysung/chat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleChat

Built with:

  • Server side: Node.js, Socket.io, Express, Redis
  • Client side: HTML5 Boilerplate, Bootstrap, Handlebars and jQuery

This is just a proof of concept of what could be done with these technologies.

If you just want to see it running, visit: http://chat.tegioz.com

Requires

  • Node.js
  • NPM (Node Package Manager)
  • Redis

Get the code

git clone https://github.com/tegioz/chat.git

Run

Fetch dependencies:

npm install

Launch Redis:

redis-server

Launch chat server:

(don't forget to launch Redis before!)

node chatServer.js

Now open this URL in your browser:

http://localhost:8888/

and you're done ;)

Broadcast API

Send messages to all connected users:

Content-Type: application/json
POST /api/broadcast/

{"msg": "Hello!"}

About

Simple Chat built with Node.js, Socket.io, Express & Redis (+ client built with Bootstrap)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 61.5%
  • HTML 32.7%
  • Handlebars 3.2%
  • Python 1.9%
  • CSS 0.7%