A simple captcha service powered by Fastify, TypeORM and TypeScript.
Run docker-compose up -d
- Use
nvm
to use the right NodeJS version
nvm use
- Install dependencies:
npm install
- Run dev environment:
npm run dev
- Enjoy your captcha service! 🎉
Run npm run test
Endpoint:
GET /captcha
Response:
{
"id": "uuid",
"captcha": "data uri image"
}
Example:
{
"id": "d9223c4c-9b55-4670-bb19-e47e49856f32",
"captcha": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAyCAYAAAC+jCIaAAAABmJLR0QA/wD/AP+gvaeTAAAQ1klEQVR4nO2caXAk5XnHf909931JGmlmdI32BpZdloVwVDgCS4GJE6BwqArYFP6QVAqnErscQ5IqG8chiZ2Uq5JKcOKUXSR2FQmUXSQGzGmORQZ2MaxXq2V17Eozo5VGc99XT+fD6EQzWo1WF0G/L9PVb3e/T/f853ne93mfHiEWiylsc9EEymFSco59uu7NNmVLIG62Af9fGCoFmZJjm23GlmFbWGvEZCVOq8q+2WZsGbaFtUaEK3FaJdtmm7Fl2BbWGlBRZBJyBodk2WxTtgzbwloDInISh8qCSpA225Qtw7aw1oBwJbEdBj+GCuAXo68xmZ6ky95Fp7UTt7kdSdz+9a2UsLw9cP84qtmN4egwr468ynh8jGguSofFQ4+jB5/VVxOcrZNOWxdtpjYEQdhcq7cY4Uqc/bq+zTZjSyHUS5CW5TJTmSlCqSDDkWFGYiMEE0FCqSDhTJhWUyseixe/y0+fow+vzYvH4sVj8XwqRffd2NP8vvUWXJJ1s03ZMqjq7VRLarxWL16rl6t8Vy9qyxdKTGeijCXPMhL/iIHwAD8/8/M50XmtPvxOP16rF5/VNyc6r9W7Ufe0oVSQScpZHKJ5Q/pTkBkQf0JIfI+0MIFaMbKvehd91Vs3pP+VUldYH6dUVJieKpNOVqlUFMCGnQMc1hzgph6RFrcavUEkXUwTSIwTSoUIJoNzohuODlGSS/hsnXgsnkWi63PuwGlwrv+drhPhSgKnZEEUNmYe9Kb0HU5Lz87vEMCrHN6QvpuhbihcSDIuExwroSxz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UXSusurIFzKT4YSVIsV9nbZeb3bvBgMW7civxEJs23j/czmc3yN9fdRJdl8WvwZ+IxRmeWfQ61rS6TvhlYtA4Oe25hIj3KexOv0G7qos9x2VzlxGaz/lYIAtdf6sTXYmi6XmstaDeZKVRkIvkcX3vrFe7fcxm7HE5KssxgNMKPTp9EAa5ye9jt+GS9kS0g4DH7aTF4OBP7gKOB59jtPECrcfNfXr3omvdPAvFiga+//TqnYpG67dd2+PjKoasxqVeZdMxUEY/W1hqrhw1g35y/gIrnwwxGj2NQGZetnGiG1DMxsm+l0O7U4/jDpcWYjfhUCGuWwViEwViEqWxNBK0GIwda3fRaL/LFB1lBiNWWjBSbBOrN+8edqlIlmBribGJw1ZUTC1mtsLZGQN4g9jhc7GlQPnNRSAJKy9Z4lHOVE6ZOhmIfrqpyYi3YGk9jmzVHK+m5pOVqpnMTDEaOYVJb2O06hG4FlRMLUfk06A8aUbU3N0z4VIXCTytVReZcYpDx1Bm6rXvosu5quLa6Vmx7rE8BC/9zYij2IeVqacmi9lqz7bG2WRe28GrTNp9ktoW1zbqwLaxt1oVtYW2zLmwLa5t14f8A8Ypi3akHQd0AAAAASUVORK5CYII="
}
Endpoint
GET /captcha/:id
Response:
{
"id": "uuid",
"captcha": "data uri image"
}
Example:
{
"id": "d9223c4c-9b55-4670-bb19-e47e49856f32",
"captcha": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAyCAYAAAC+jCIaAAAABmJLR0QA/wD/AP+gvaeTAAAQ1klEQVR4nO2caXAk5XnHf909931JGmlmdI32BpZdloVwVDgCS4GJE6BwqArYFP6QVAqnErscQ5IqG8chiZ2Uq5JKcOKUXSR2FQmUXSQGzGmORQZ2MaxXq2V17Eozo5VGc99XT+fD6EQzWo1WF0G/L9PVb3e/T/f853ne93mfHiEWiylsc9EEymFSco59uu7NNmVLIG62Af9fGCoFmZJjm23GlmFbWGvEZCVOq8q+2WZsGbaFtUaEK3FaJdtmm7Fl2BbWGlBRZBJyBodk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bG2WRe28GrTNp9ktoW1zbqwLaxt1oVtYW2zLmwLa5t14f8A8Ypi3akHQd0AAAAASUVORK5CYII="
}
Endpoint
POST /captcha/:id/validate
Body:
{
"text": "captcha text"
}
Response:
{
"valid": "boolean"
}
This project use canvas
, so if you have some problem maybe you must read this