Skip to content

Latest commit

 

History

History
 
 

browser-client-example

browser-client-example

Deploy License

This is a simple demo showcasing usage of Speechly API. Speechly configuration for the app can be found in speechly_config.sal.

Built with:

A working demo of this example can be found here: https://speechly.github.io/browser-client-example/

Run it locally

# Install dependencies
npm install

# Runs the demo in the development mode.
# Open http://localhost:3000 to view it in the browser.
#
# The page will reload if you make edits.
# You will also see any lint errors in the console.
npm start

You can check out the code in index.ts and the layout in index.html.

To use your own appId with this example, run the following prior to npm start:

# Configure your Speechly app ID
export REACT_APP_APP_ID="your-app-id"

# Configure your Speechly app language
export REACT_APP_LANGUAGE="your-app-language"

For instructions on how to get started on the Speechly free tier and obtain your appId, please see the Quick Start Guide.

Note that this example is part of a monorepository that uses rush and pnpm as build tools. If you are interested in contributing, please check the instructions in the root level README.