tasminions / minionchat

Real time web chat
0 stars 0 forks source link

Travis Code Climate Issue Count Test Coverage Codecrystal

minionchat

Real time web chat. See it on heroku!

WIREFRAMES

chat-wireframe

EVENTS

EVENT FLOW

event-flow

Message object format:

{
    "originator":"username",
    "body":"what the user wrote",
    "time": 1456391092857,
    "room": "roomName"
}

CLIENT SIDE

client-side-events

SERVER SIDE

server-side-events

SAMPLE DATA STRUCTURE (within database)

{
    "users":{
        "bugs-bunny":{
            "rooms":["room1","room2"]
        }
    },
    "messages": {
        "room1": [
            {
                "originator":"bugs",
                "body":"here is a message",
                "time":"24-01-2016:12.123321321312"
            }
        ],
        "room2":[],
        "room3":[]
    }
}

JS FILE STRUCTURE

file-structure

INSTRUCTIONS

In order to get a chat room hosted on your machine, follow these instructions: