To run go to root directory and type:
npm start
To run tests type:
npm test
Warning! You should install npm to run this app
mutation{ addConversation(name: "Gently conversation"){ id name } }
{ conversation(id: "5ca387903805a07cd4526d77") { id name contributors { id nickname } messages { id content date } } }
{ conversations{ id name messages { id content } } }
mutation($message: MessageInput!){ addMessage(message: $message){ content id } }
{ "message": { "id_conversation": "5ca387903805a07cd4526d77", "id_sender": "5ca1c9a11c9d4400003e3590", "content": "Hello" } }
subscription{ messageAdded(id_conversation: "5ca1cfae1c9d440000b498b8"){ id content } }
- Change backend configuration to ES6 JS standard
- Add subscription server based on WebSockets
- Rebuild schema to new qgl format
- Move resolvers to another file and rebuild
- Add subscriptions
- Add login endpoint
- Add user authorisation to all endpoints
- Add middleware for auth purposes
- Add context parameter which is sent to resolvers (for auth)
###Sprint V6 21.05.2019 Registration added by Client and server side, protected before empty fields. Verification email and nickname added (cuold not be exist in DB before registration).