Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#166979034 Enable users to chat #79

Merged
merged 1 commit into from
Jul 24, 2019
Merged

Conversation

rukundoeric
Copy link
Contributor

@rukundoeric rukundoeric commented Jul 18, 2019

What does this PR do?

  • Enable user to interact with each other through chatting

Description of Task to be completed?

  • Have this endpoint working
    • GET /api/chats/users
    • GET /api/chats/:username
  • Have socket which is running runtime

How should this be manually tested?

  • pull this branch
  • Add some records in your Users table in the database.
  • And the test that API above with postman

Any background context you want to provide?

N/A

What are the relevant pivotal tracker stories?

#166979034

Use case documentation

Chat user case documentaion

Screenshots (if appropriate)

worldclass-feature

Questions:

N/A

}
}),
down: queryInterface => queryInterface.dropTable('Chats')
};
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Newline required at end of file but not found eol-last

@rukundoeric rukundoeric force-pushed the ft-user-chat-166979034 branch 2 times, most recently from eed75a5 to c6d5110 Compare July 18, 2019 10:50
password: 'Superadmin1'
})
.end((err, res) => {
console.log(res.body);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unexpected console statement no-console

expect(res.body).to.be.an('object');
const { token } = res.body.data;
userToken = token;
console.log(res.body);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unexpected console statement no-console

@rukundoeric rukundoeric force-pushed the ft-user-chat-166979034 branch 2 times, most recently from 93bec14 to b9ec308 Compare July 18, 2019 11:12
@rukundoeric rukundoeric force-pushed the ft-user-chat-166979034 branch 3 times, most recently from 7c78d34 to cbab7f6 Compare July 18, 2019 15:29
@eliemugenzi eliemugenzi force-pushed the ft-user-chat-166979034 branch 3 times, most recently from 52f41f1 to e7c6780 Compare July 19, 2019 08:37
Copy link
Contributor

@EmyRukundo EmyRukundo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work guys!

@EmyRukundo
Copy link
Contributor

EmyRukundo commented Jul 19, 2019

you have some conflicts, rebase!!

});
return io;
};

export default SocketIO;
export default SocketIO;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Newline required at end of file but not found eol-last

@eliemugenzi eliemugenzi changed the title feat(user-chat): Enable users to chat #166979034 Enable users to chat Jul 22, 2019
Copy link

@Quantum-35 Quantum-35 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Quantum-35 Quantum-35 merged commit 0723eb2 into develop Jul 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants