Skip to content

nmichel/jpetdemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#jpetdemo : a basic ejpet demo

#What

jpetdemo is a messenging server based on websockets and JSON messenging.

The server is very simple and illustrates how JSON nodes can be routed using ejpet pattern matching mechanism.

#Quickstart Clone

$ git clone git@github.com:nmichel/jpetdemo.git
$ cd jpetdemo

Build

$ ./rebar get-deps
$ ./rebar compile

Start

$ ./run.sh

#Use

Point your browser at http://localhost:90001.

Open several times the URL to simulate several connected users.

The web UI allows to

  • send messages to "rooms"
  • subscribe to "rooms"
  • subscribe to "topics"

To indicate topics in text messages, use hastag markers # (e.g. #topic)

Footnotes

  1. possibly, replace localhost with a specific IP; e.g. if (like me) you are hosting the demo server in a VM.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published