#interface #verifying #tokens #recaptcha #centralised

bin+lib recaptcha-service

A simplified and centralised interface for verifying reCAPTCHA tokens

1 unstable release

0.3.0 Apr 11, 2023

#6 in #recaptcha

24 downloads per month

Apache-2.0

21KB
201 lines

recaptcha-service

Prerequisites

  1. Install Docker by following it's installation instructions.

  2. Install Watch by running cargo install cargo-watch.

During Development

When developing, ensure cargo watch --clear -x fmt is running in a terminal, where:

  • watch will detect any changes in the repo and refresh commands.
  • --clear will clear the console output each time changes are detected.
  • fmt will format your Rust code to comply with standards and ensure unformatted code is not committed.

To launch the application run docker compose up --build, this will:

  • expose the API via http://localhos:<port>

The individual ports uniquely chosen by Docker can be found through the Docker interface.

Dependencies

~18–34MB
~574K SLoC