https://github.com/theprofs/twilio-playground
Twilio calls playground
https://github.com/theprofs/twilio-playground
playground twilio webrtc
Last synced: 3 months ago
JSON representation
Twilio calls playground
- Host: GitHub
- URL: https://github.com/theprofs/twilio-playground
- Owner: TheProfs
- License: mit
- Created: 2022-06-28T08:43:08.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-09T14:23:10.000Z (over 2 years ago)
- Last Synced: 2025-01-18T10:44:50.722Z (5 months ago)
- Topics: playground, twilio, webrtc
- Language: HTML
- Homepage: https://bp-twilio-playground.herokuapp.com
- Size: 61.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# twilio-playground
[](https://standardjs.com)
[Twilio][twilio] calls playground
## Install
Clone this repo, `cd` into it and then:
```bash
$ npm install
```### Set Twilio credentials as environmental variables
You can obtain credentials from the [Twilio dashboard][twilio-console]
```bash
$ export TWILIO_ACCOUNT_SID= # starts with AC
$ export TWILIO_API_KEY= # starts with SK
$ export TWILIO_API_SECRET=
```## Run
Run:
```bash
$ npm run start-dev
```then visit http://localhost:5008
## Process
- Client sends a request to create a *Room*. If the *Room* does not exist, it
is created.
- Client sends a server request to create an *Access Token*, granting access
to that *Room*.
- Client connects to the *Room* using the *Access Token*.## Contributing
```bash
# Lint before commiting
$ npm run lint
```## Authors
- [@nicholaswmin][nicholaswmin]
[twilio]: https://twilio.com
[twilio-console]: https://console.twilio.com/
[nicholaswmin]: https://github.com/nicholaswmin