JavaScript
Introduction
In this task, you will learn how to create and configure a Client SDK Application and then code a web app that enables two users to send messages to each other.
First, you will create a Conversation and two Users. Then, you will authenticate these Users and add them to the Conversation as Members.
Finally, you will implement chat functionality in your application, including the ability to view and send messages and be notified when either party is currently typing.
If you would like to follow along without building the app yourself, the completed project is available on Github - please see the in-app-messaging-js folder.
Creating a web-based chat app
Create a web application that enables users to message each other
Steps
1
Introduction to this task2
Prerequisites3
Create a Vonage Application4
Create a conversation5
Create the users6
Add users to the conversation7
Generate JWTs8
Create the UI9
Authenticate your Users10
Fetch the conversation11
Show the message history12
Send a message13
Add typing indicators14
Run your application15
What's next?