- MongoDB
- Node v6.x
- Redis
With docker, ./deploy.sh
or
$ npm install -g yarn browserify uglifyjs
$ yarn
$ npm run init
$ npm run dev
then open http://localhost:3000
$ npm run test
authentication
,({username : String, password : String})
- login into the socketmessage
,({sender: String, recipient: String, message: String, type : String })
- send message.fetchMessage
,({room : String})
contactedUpdate
,currentUsername
- On progress...
authenticated
- when authentication succeeded.unauthorized
- when authentication failed.message
,({sender: String, recipient: String, message: String, type : String })
- when message arrived.contactedUpdate
,[]
- updated contacted list from server.onlineUsers
,[]
- server send online users list from servermessages
,{ rooms : String, messages : [] }
- messages list from server
- On progress...
- API (basic user registration, fetch unread, etc)
- Messages queue
- Messages promise
- Message status (sent, read, etc)
- Groups