Skip to content

Demo showing how to use procaptcha react components with webpack

License

Notifications You must be signed in to change notification settings

prosopo/procaptcha-react-webpack

Repository files navigation

procaptcha-react-webpack

Demo showing how to use Procaptcha React components with Webpack. The ProcaptchaFrictionless component is used in a simple React App. This component will require a normal user to complete a Proof-of-Work captcha, or an image captcha if the user is likely to be a bot. See the client-example for other React component examples.

Setup

npm install

Replace the site key in src/App.js with your own site key.

    const config = {
        account: {
             // Enter your SITE_KEY here. This one is a demo key.
            address: '5C4hrfjw9DjXZTzV3MwzrrAr9P1MJhSrvWGWqi1eSuyUpnhM',
        },
    };

Run

npm run start

Go to http://localhost:9000 in your browser.

demo

About

Demo showing how to use procaptcha react components with webpack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published