Simple chat with tornado, websockets, elasticsearch and angularjs.
- Elasticsearch
- nodejs
- bower
- pip packages:
- elasticsearch-py
- tornado
bower install
npm install
gulp (serve) # run the tornado app and watch for styles & scripts
gulp build # build scripts & styles
gulp runserver # run the tornado server
gulp watch # watch styles & scripts
POST /chatrooms
{
"title":"test"
}
GET /chatrooms
DELETE /chatrooms/:room_id
POST /chatrooms/:room_id
{
"username":"user",
"message":"foobarlol"
}