install

overview

In this quickstart guide we are going to build a simple chat application using the cyxth javascript client. This simple project showcases how you can use cyxth to create realtime chat and collaboration applications and can be extended to create full featured chat applications using any framework of your choice.

install packages

lets start by installing the necessary packages.

  • @cyxth/chat - handles the signaling and chat features
  • @cyxth/calls - handles realtime video and audio chat features
  • @cyxth/node - a backend package manage your cyxth instance.

if you are not using nodejs as your backend you can still use the REST api to manage your cyxth instance.

To install the packages, use npm or yarn

# chat
$ npm install @cyxth/chat

# calls
$ npm install @cyxth/calls

create a cyxth instance

create a cyxth instance if you have not yet created at cyxth console. The application will start in a sandbox mode where you can test with upto 100 concurrent users.

after launching a cyxth instance you can go forward and start creating your application.

next on authorize users