Build a Basic Video Call Platform with Netlify Functions
To build a serverless video chat application using the Vonage Video API and FaunaDB, start by creating a new directory, installing dependencies, and setting up a Netlify function. Write a basic function to test everything is set up correctly, then create a FaunaDB database and index to store session data. Generate a token for users to authenticate with the video session, and return data to the client including the Session ID, token, and API key. Build a frontend client that submits a request to the endpoint when the button is pressed, and initializes the session in the browser using the OpenTok library. Deploy the function on Netlify and test the application, which should now allow users to create and join video sessions with each other.
Company
Vonage
Date published
May 5, 2021
Author(s)
Kevin Lewis
Word count
2033
Language
English
Hacker News points
None found.