Skip to content

th1nk-er/reCAPTCHA-Enterprise-Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quick Start

  1. Clone the repository.
git clone https://github.com/th1nk-er/reCAPTCHA-Enterprise-Demo.git
  1. Replace your reCAPTCHA key
  • reCAPTCHA-Web/src/main.ts
app.config.globalProperties.$siteKey = "SITE KEY";
  • reCAPTCHA-Server/src/main/resources/application.yml
reCAPTCHA:
  # visit https://console.cloud.google.com/apis/credentials to get the api key
  api-key: "API KEY"
  # visit https://console.cloud.google.com/security/recaptcha to get the project id and site key
  project-id: " PROJECT ID"
  site-key: "SITE KEY"
  1. Test reCAPTCHA
cd reCAPTCHA-Enterprise-Demo
# Start server
cd reCAPTCHA-Server
mvn package
java -jar target/reCAPTCHA-Server-0.0.1-SNAPSHOT.jar
# Start web
cd reCAPTCHA-Web
pnpm install
pnpm dev