GithubHelp home page GithubHelp logo

dhainzl / angular2-chat Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 1.0 186 KB

A sample chatclient with SockJS and Angular2 to test the capabilities and features of Angular2

JavaScript 97.09% HTML 1.17% CSS 0.31% TypeScript 1.44%

angular2-chat's Introduction

angular2-chat

This is an example chat application written with angular2 and sockjs.

server

The server is a small implementation in node. cd into the server subfolder and start it with

npm install
node index.js

client

This is where the fun begins. It is written in angular2 (TypeScript) and uses SockJS for the communication with the server.

Open two Terminals. In the first, switch to the client subfolder and start the TypeScript Compiler with

npm install
npm run tsc

In the second one, switch to the client subfolder too and then you can start the simple server with

npm start

It should navigate automatically to the correct server.

How it looks like

Example of client

angular2-chat's People

Contributors

dhainzl avatar

Stargazers

EL RHOURHA KARIM avatar Tuna Yağcı avatar N37R09U3 avatar AliBug avatar  avatar

Watchers

James Cloos avatar  avatar Tuna Yağcı avatar

Forkers

anoirgu

angular2-chat's Issues

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.