
Build a chat application like Slack - React / JavaScript Tutorial
video description
Date: 2022-03-14
Related videos
Comments and reviews: 7
javapda
needed to use the following authenticate code: app.post('/authenticate', (req, res) => -
const - grant_type - = req.body
console.log(req.query.user_id)
console.log(grant_type)
let token = chatkit.authenticate(-grant_type, userId: req.query.user_id-);
console.log(token);
res.status(token.status)
.send(token.body);
-)
reply
needed to use the following authenticate code: app.post('/authenticate', (req, res) => -
const - grant_type - = req.body
console.log(req.query.user_id)
console.log(grant_type)
let token = chatkit.authenticate(-grant_type, userId: req.query.user_id-);
console.log(token);
res.status(token.status)
.send(token.body);
-)
reply
Streamville
Seriously slow down! I thought FCC was geared towards beginners? Why is the instructor rushing through the tutorials? And the aggressive typing noise in the background really does not help either. Perhaps creating more quality tutorials would help to attract more developers to this video. Sloppy job.
reply
Seriously slow down! I thought FCC was geared towards beginners? Why is the instructor rushing through the tutorials? And the aggressive typing noise in the background really does not help either. Perhaps creating more quality tutorials would help to attract more developers to this video. Sloppy job.
reply
santosh
I figured out the problem n fixed it... I added couple more features to it... I made it possible to change chat room for more flexible convo...i do want to add personal conversation feature... I'm not sure how to do it though if you can help i would appreciate
reply
I figured out the problem n fixed it... I added couple more features to it... I made it possible to change chat room for more flexible convo...i do want to add personal conversation feature... I'm not sure how to do it though if you can help i would appreciate
reply
Stephen
Really cool! One question though, why use constructor and .bind instead of just using arrow functions? Arrow function methods save you 4 lines off the bat and 1 line for each additional method.
reply
Really cool! One question though, why use constructor and .bind instead of just using arrow functions? Arrow function methods save you 4 lines off the bat and 1 line for each additional method.
reply
Terence
Every time I try to run the code at the same time you do in the video after a little bit of coding all I see is -Slack- on my HTML page. Anyone else have this issue?
reply
Every time I try to run the code at the same time you do in the video after a little bit of coding all I see is -Slack- on my HTML page. Anyone else have this issue?
reply
Ajay
When I click submit and check the Network tab,the Protocol and Response are empty and it says Pending and that never goes away.Can someone help me?? Thanks .
reply
When I click submit and check the Network tab,the Protocol and Response are empty and it says Pending and that never goes away.Can someone help me?? Thanks .
reply
DO
No working if statement (if (error.error_type === -services/chatkit/user_already_exists-) ) everytime goes to else statement
reply
No working if statement (if (error.error_type === -services/chatkit/user_already_exists-) ) everytime goes to else statement
reply
Add a review, comment
Other channel videos















