Skip to content

TheFinestArtist-Archives/Sails-Messenger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sails-Messenger

Web/iOS/Android Messenger Application using sockets/api in Sails.js

This is skelecton code for messenger.

sails-turquoise: #0b8fa2 => 11, 143, 162

sails-emerald : #41bac2 => 65, 186, 194

sails-black : #001c20 => 0, 28, 32

sails-grey : #e4f0f1 => 228, 240, 241

User Chat Message

##JSON TYPE

###User ####SIMPLE JSON username password

####WHOLE JSON username password chats (simple jsoned chat list) friends (simple jsoned user list)

###Chat ####SIMPLE JSON chatters (simple jsoned user list)

####WHOLE JSON chatters (simple jsoned user list)

###Message ####SIMPLE JSON content chat (chat id) author (user id)

####WHOLE JSON content chat (chat id) author (simple jsoned user)

##APIs

###Socket ####put : sockets/join => res.ok(); username

================= ###User ####get : /user/list => WholeUserJSON LIST

###User ####get : /user/signin => WholeUserJSON username password

###User ####post : /user/signup => WholeUserJSON username password

###Auth ####get : /auth/verify => WholeUserJSON username password (hashed)

###Chat ####get : /chat/list => WholeChatJSON LIST

###Chat ####post : /chat/start => WholeChatJSON username friend

####put : /chat/join => WholeChatJSON username chat_id

####put : /chat/messages => WholeMessageJSON LIST username chat_id

###Message ####post : /message/post => WholeMessageJSON content author chat

About

Web/iOS/Android Messenger Application using sockets/api in Sails.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published