UI Library Sample - File Sharing using UI Chat Composite

This is a complete sample showcasing integration of file sharing feature into an Azure Communication Services powered React application.

For a step-by-step guide to building this sample yourself, see the associated tutorial.

This sample includes:

This Quickstart for FileSharing is not to be confused with the Teams Interopability feature where a ACS user can receive SharePoint files with proper file permissions shared by a Teams user. This feature is currently available in Public Preview, for more information please refer to Supplemental Terms of Use for Microsoft Azure Previews.

Code organization

Prerequisites - Azure Resources

You need a few Azure resources before running this sample locally.

Prerequisites -- Configuration

Once you have these resources setup, you need to replace the placeholders in these two files:

Prerequisites - Developement Environment

Install NPM dependencies

  • Install dependencies of Azure Static Web Apps npm install
  • Install dependencies of Azure functions backend cd api && npm install
  • Install dependencies of front-end application cd app && npm install

Run the application

You'll need to run the client and server separately:

  • Start the front-end application: cd app && npm start
  • Start the azure functions backend: cd api && npm start
  • Start the Static Web Apps proxy: npm run start:dev

Navigate to your application at localhost:4280.