Server for turtle chat application
Envioronment : NodeJs
Database : Postgresql
- facebook-react
login/signup using facebook. Authentication using cookies - google-react
login/signup using google. Authentication using cookies - facebook-react-native
login/signup using facebook. Authentication using JWT - google-react-native
login/signup using google. Authentication using JWT - groups
- method : get
- endpoint : '/' ==> get all message groups
- endpoint : '/:group_id' ==> get all messages of a group
- method : post
- endpoint : '/newgroup' ==> create new groups
- endpoint : '/:group_id' ==> post message to a group
- endpoint : '/:group_id/addmembers' ==> add members to a group
- method : get
- requests
- method : get
- endpoint : '/' ==> get all message requests received
- endpoint : '/:req_id' ==> get all messages sent by the request sender
- method : post
- endpoint : '/accept/:req_id' ==> accept a request
- method : get
- user
- method : get
- endpoint : '/' ==> get info about self
- endpoint : '/:username' ==> get users matching the username
- method : post
- endpoint : '/log/logout' ==> logout
- method : get