Add the below piece of code for generating tokens in the server.js file: To be able to initialize the client, we need to get a valid token, which we can generate from our Node server. We’ll be using the JavaScript SDK on both the server, to generate our tokens, and the client end, to get real-time updates of what is happening on the chat, including real-time messages. ![]() You can now access the project on Generating and Utilizing Tokens Here, we have created a Node server that will be running on port 8800.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |