This is a simple example using the speechly react library.
To run this, you will need an App ID which you can get by creating a free account with Speechly, and creating a new project and application. I'm currently just hardcording this App ID in the index.js file.
This project also contians some commented out code that uses the react-speech-recognition library. This library simply wraps the Web Speech API functionality in a react hook.