Skip to content

daniel-lahoz/DLSocketSimplyServerDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DLSocketSimplyServerDemo

This is very a simple demo of the implementation of Socket.io server on Node.js.

I use the Socket.io chat example as based and added support por rooms.

You can see the original sample Here

I also have an iOS Demo Chat Client App for this server, you can see here: DLSocketSimplyiOS

How to use

$ cd DLSocketSimplyServerDemo
$ npm install
$ npm start

And point your browser to http://localhost:3000. Optionally, specify a port by supplying the PORT env variable.

Features

  • Multiple users can join a specify chat room by each entering a unique username and chatroom on website load.
  • Users can type chat messages to that chat room.
  • A notification is sent to all users when a user joins or leaves the chatroom.

Make One Yourself

Be free of use this simple example as you pleased.

About

A very simple Node.js Socket.io chat server

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published