Tries to provide captcha functionality everywhere where there is none
·
Report Bug
·
Request Feature
Small docker setup to provide captcha functionality everywhere where there is none. Utilizes NestJS.
To get a local copy up and running follow these simple steps.
- Clone the repo
git clone https://github.com/beuluis/captcha-for-all-api.git --branch develop- Start docker-compose
docker-compose up --build- Call the api with
localhost:{your port}as base url
- Create a
.envfile
touch .env- Overwrite variables as you like (format:
{variable name}={variable value})
| Variable | Description | Default value | Required |
|---|---|---|---|
INSPECT_PORT |
Node inspect port | 9229 | false |
PORT |
Which port is mapped to your host machine | 3300 | false |
CAPTCHA_SITEKEY |
HCapthca sitekey | 0x0000000000000000000000000000000000000000 | false |
CAPTCHA_SECRET |
HCapthca secret | 10000000-ffff-ffff-ffff-000000000001 | false |
The endpoints are documented in swagger. You can navigate to swagger on your local instance, like localhost:{your port}/api.
Or view them here.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Luis Beu - me@luisbeu.de