This example uses react-simple-captcha (https://www.npmjs.com/package/react-simple-captcha) as an example for provide a thin layer of security against bots.
clone the repo
git clone https://github.com/AliCW/simple-captcha-example.git
Install dependencies
npm install
Run the program by navigating to the site root at /simple-captcha-test/ and type the below
npm start
You can change the colour of your CAPTCHA code by altering the hex code next to the 'loadCaptchaEnginge' call