From 1d76b1bf2e42fe49a9efde1f8b2de00ffbee28ad Mon Sep 17 00:00:00 2001
From: Oleh Tsyrkun <113295143+superolegatron@users.noreply.github.com>
Date: Fri, 13 Sep 2024 19:43:02 +0300
Subject: [PATCH] Update README.md
Provided additional info about ReCAPTCHA setup
---
README.md | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 86587d6fc..4a0708d18 100644
--- a/README.md
+++ b/README.md
@@ -206,7 +206,6 @@ On some Windows machines, there might be issues, in that case try:
`celery -A forum worker --loglevel=info -P eventlet`
-
### Node JS frontend server
- Setup frontend .env
> Setup frontend .env
@@ -222,6 +221,22 @@ PORT=8080 npm start
or
PORT=8080 npm restart
```
+
+### Google ReCAPTCHA
+The project is currently using ReCAPTCHA V2 Invisible. Note that if the free monthly Google quota expires, users will be able to sign in and sign up without ReCAPTCHA verification.
+
+For proper ReCAPTCHA setup provide public and private keys from Google:
+
+Add in BackEnd .env
+```.env
+RECAPTCHA_PRIVATE_KEY = "your-private-key"
+```
+
+Add in FrontEnd .env
+```.env
+REACT_APP_RECAPTCHA_SITE_KEY = "your-public-key"
+```
+
### How to run Docker
- Setup Docker
@@ -332,4 +347,4 @@ Reach out to me at one of the following places!
[![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://badges.mit-license.org)
- **[MIT license](http://opensource.org/licenses/mit-license.php)**
-- Copyright 2020 © SoftServe IT Academy.
\ No newline at end of file
+- Copyright 2020 © SoftServe IT Academy.