REST Server for Reacher Email Verification API: https://reacher.email.
This crate holds the backend for Reacher. The backend is both a HTTP server and a email verification worker. It has with the following components:
check-if-email-exists
, which performs the core email verification logic,warp
web framework,RabbitMQ
worker for consuming a queue of incoming verification requests.
The Docker image is hosted on Docker Hub: https://hub.docker.com/r/reacherhq/backend.
To run it, run the following command:
docker run -p 8080:8080 reacherhq/backend:latest
Then send a POST http://localhost:8080/v0/check_email
request with the following body:
{
"to_email": "[email protected]",
"proxy": { // (optional) SOCK5 proxy to run the verification through, default is empty
"host": "my-proxy.io",
"port": 1080,
"username": "me", // (optional) Proxy username
"password": "pass" // (optional) Proxy password
},
}
The backend is configured via its backend_config.toml
file.
See the full OpenAPI documentation.
You can build the backend from source to generate a binary, and run the server locally on your machine. First, install Rust; you'll need Rust 1.37.0 or later. Make sure openssl
is installed too. Then, run the following commands:
# Download the code
$ git clone https://github.com/reacherhq/check-if-email-exists
$ cd check-if-email-exists/backend
# Run the backend binary in release mode (slower build, but more performant).
$ cargo run --release --bin reacher_backend
The server will then be listening on http://127.0.0.1:8080
.