Giter Club home page Giter Club logo

chatty-socketio-example's Introduction

#Chatty Yet another demo Chat application for playing with websockets. This one using the following stack:

  • Node.js
  • Express
  • socket.io
  • Angular2
  • Typescript

This is a typical chat application demo used for demoning socket.io. This is not an original work, most of it originates from Nic Raboy and his blog example here: link That version of code did not work with current Angular2 versions, so I updated it to Angular2.0.0-rc.5. I also changed it to use a service to handle all the websocket communications, and remove the database so as to simplify things.

To run this app:

  1. install node.js
  2. download both directories (client and server) into a single parent directory
  3. navigate to the client directory and npm install to install the client-side node modules
  4. navigate to the server directory and run npm install -g express to install express as a global module
  5. run npm install -g typescript to install typescript as a global module
  6. run npm install to install the server-side node modules
  7. launch the application from the server folder as node app.js.
  8. Use your browser to navigate to http://localhost:8079

chatty-socketio-example's People

Contributors

stevejluke2 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

patleod

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.