GithubHelp home page GithubHelp logo

siagung / chat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tegioz/chat

0.0 2.0 0.0 335 KB

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

Home Page: http://chat.tegioz.com

chat's Introduction

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!"}

chat's People

Contributors

tegioz avatar

Watchers

agung susanto avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.