NodeJS Server Example
This example server implements signup, login and authorisation methods for a typical node backend application. This backend server integrates with the client-example React app.
Quickstart
Section titled Quickstartgit clone https://github.com/prosopo/captcha && \cd captcha && \cp demos/client-example-server/env.production demos/client-example-server/.env.production && \npm i && \npm run -w @prosopo/scripts build && \npm run start:serverMake sure you replace the following placeholders in the .env.production file with your own site key and secret key.
You can obtain these by logging into the Prosopo portal.
PROSOPO_SITE_KEY=<YOUR SITE KEY HERE>PROSOPO_SITE_PRIVATE_KEY=<YOUR SECRET KEY HERE>Run this example API in conjunction with the client-bundle-example end-to-end app.
Learn