An example project that provides a web interface to real-time speech-to-text service on a browser with Azure real-time speech-to-text service and Socket.IO.
-
Install the dependencies
$ npm install
-
Set
AZURE_KEY
andAZURE_REGION
as environment variable.For Linux/macOS users
export AZURE_KEY=YOU_AZURE_KEY export AZURE_REGION=YOUR_AZURE_REGION
For Windows PowerShell
$env:AZURE_KEY = 'YOU_AZURE_KEY' $env:AZURE_REGION = 'YOUR_AZURE_REGION'
-
Start the backend
$ npm run start
-
Go the the frontend
By default, the frontend is served at
http://127.0.0.1:4000/