You can use Easy-Server to test ZEGOCLOUD's product quickly.
Warning
This project is for TEST only! Do not use it for production!
You can copy the code and deploy to your own server.
You may need access token when you using ZEGOCLOUD's service. Click the Deploy button below to deploy a server then you can get access token from it:
https://your_vercel_project_name.vercel.app/api/get_access_token?uid=123
Note
Token valid in 3600 seconds by default. If you want to change the expired time, request with the
expired_ts
parameter. e.g.
https://your_vercel_project_name.vercel.app/api/get_access_token?uid=123&expired_ts=7200
We use Firebase FCM for call invitation service.
-
Go to Firebase Console and create new project if you don't have one.
-
Generate
Firebase Admin SDK Private Key
- Click this deploy button below to start deploy your service.
- Create git repository for the service
- Open the
Firebase Admin SDK Private Key
you just obtain at the above step, and fill in the content to theRequired Environment Variables
parameter input box. - Press
Deploy
button, wait for the depoly process completed.
Note This URL can also get access token too.