Skip to content

A minimalist example of how to build an agora token server for RTM and RTC with NodeJS

Notifications You must be signed in to change notification settings

divanov11/nodejs-agora-token-server-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Agora RTC & RTM Token Server Examples

Getting Started

Install requirements

npm install

Add in your APP ID and APP certificate within app.js

You can find this information in your Agora console.

const APP_ID = 'YOUR APP ID'
const APP_CERTIFICATE = 'YOUR APP CERTIFICATE'

Test RTC and RTM token server by running nodemon app.js and then visiting the following routes:

localhost:3000/token-rtc

localhost:300/token-rtm

About

A minimalist example of how to build an agora token server for RTM and RTC with NodeJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published