Giter Site home page Giter Site logo

nostalcade / catcha Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 102 KB

Simple Client-side integration of reCAPTCHA v2 to obtain response tokens for testing purposes.

License: MIT License

HTML 6.90% JavaScript 77.35% CSS 15.75%
nodejs vite autoprefixer postcss prettier react react-router recaptcha tailwindcss client

catcha's Introduction


Simple Client-side integration of reCAPTCHA v2 to obtain response tokens for testing purposes.

Features

  • PWA Support

  • Mobile-Friendly

Tech Stack

Environment Variables

โš ๏ธ Before running it, you must obtain the following values to initialize the required variables.

Variable Value Description
VITE_RECAPTCHA_PUBLIC_KEY Private/Public Site Key Required. Public Site Key for React Google reCAPTCHA and Private Site Key for Server-side validation. In Domains, you have to add "localhost".

Run

Install required

Locally

Clone the repository

  • HTTPS

    git clone https://github.com/nostalcade/catcha.git
  • SSH

    git clone [email protected]:nostalcade/catcha.git

Go to the repository directory

cd catcha/

Install dev/Dependencies

npm i

Add Environment Variables to .env file

  • You must replace "somevalue" with your own values.
echo $'VITE_RECAPTCHA_PUBLIC_KEY=somevalue' >> .env

Clear Bash History

history -cw

Start dev server

npm run dev

In the browser, go to

http://localhost:5173

All-In-One

  • HTTPS

    git clone https://github.com/nostalcade/catcha.git; cd catcha/; npm i; echo $'VITE_RECAPTCHA_PUBLIC_KEY=somevalue' >> .env; history -cw; npm run dev;
  • SSH

    git clone [email protected]:nostalcade/catcha.git; cd catcha/; npm i; echo $'VITE_RECAPTCHA_PUBLIC_KEY=somevalue' >> .env; history -cw; npm run dev;

Screenshots

Desktop

desktop public home

Mobile

mobile public home

License

catcha's People

Contributors

nostalcade avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.