Google reCAPTCHA Using Node.js
Step 1: Create a new directory and generate Package.json file in it.
Use npm init command to generate the package.json file.
Step 2: Now install required dependencies.
npm install --save express request body-parser
Step 2: Register your site at Google reCAPTCHA.
Register your web site at Google recaptcha to get the keys needed to code the form.
For localhost you have to use localhost, 127.0.0.1 and then register your site
- Site key
- Secret key
Get the code from here. Click here