/docker-recaptcha-verify

Container starts nodeJS service, ready for verifying Google reCaptcha user tokens, received from frontend.

Primary LanguageJavaScript

Container starts nodeJS service, ready for verifying Google reCaptcha user tokens, received from frontend.

Usage

Start container: source start_with_env.sh

By default service will be available by POST on http://{docker-machine-IP}:8080/recaptcha-verify

Example of request body (application/json):

{
	"user-token":"your_token_value"
}

Response will look like:

{
    "success": true,
    "errors": []
}

Before prod using set your values for environment variables in starter_with_env.sh