Skip to content
/ chat Public

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

License

Notifications You must be signed in to change notification settings

tegioz/chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 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.

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published