Google reCAPTCHA Using Node.js

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, and then register your site

After registration Google will provide you following :
  • Site key
  • Secret key   

Get the code from here. Click here