Skip to content

freaka/ngchat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

app

This is a simple app that uses socket io + angularjs v1.2.32.

The client sends a message to the server and the server broadcast this message back.

app

TODO:

  • Fork this project
  • Right now it is only showing the last message. We need it to list all the messages sent in a session. It could be a list ul > li.
  • Add the date and time for each message.
  • Add a validation, don't let the user hit send if there nothing to be sent.
  • The current implementation it is only broadcasting the message to the sender, make it broadcast the message to all the users that have the app opened.
  • Make it looks like chat app.

Plus:

  • Allow the users to have a nickname.
  • Allow the users to enter a room name.
  • Make it pretty.

Running

You will need node and npm.

server

it will use the port 3696 run: cd server npm install npm start

client

it will use the port 8012 run: cd app npm install npm start open http://localhost:8012

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 48.7%
  • CSS 40.4%
  • HTML 10.9%