@dippyhaze/my-test-package
v1.0.1
Published
no one
Downloads
2
Readme
page_type: sample languages:
- javascript products:
- azure
- azure-communication-services
Get Started with Composites
For full instructions on how to build this code sample from scratch, look at Quickstart: Get Started with Composites
Prerequisites
- An Azure account with an active subscription. Create an account for free .
- Node.js Active LTS and Maintenance LTS versions (8.11.1 and 10.14.1 recommended).
- An active Communication Services resource. Create a Communication Services resource. You will need the endpoint value for the resource
- An identity with both VoIP and Chat scopes. Generate an identity using the Azure Portal.
Run the code
- Run
npm i
on the directory of the project to install dependencies - Swap placeholders for identifiers in the code.
- Go to the
src
folder and find theapp.tsx
file. - There input values for the
Endpoint_URL
for your resource and theUSER_ID
andTOKEN
for the identity you created. - Optional: You can update the display name to match a string value of your choice.
- Save the file.
- Go to the
- Run
npm run start
Open your browser to http://localhost:3000
. You should see the following:
Feel free to style the composites to your desired size and layout inside of your application.