Jincor Verification is a service for verify users email, phone, and etc. The main responsibilities are:
- Interact with a service provider
- Validation of a received code
Take a look at our Wiki for more details.
For more details see the API docs
JWT_TOKEN should be passed for every API call in the HTTP headers, that was received from auth service.
/methods/{METHOD}/actions/initiate [POST]
/methods/{METHOD}/verifiers/{VERIFICATION_ID}/actions/validate [POST]
/methods/{METHOD}/verifiers/{VERIFICATION_ID} [DELETE]
- Clone this repo.
- Run
docker-compose build --no-cache
. - Run
docker-compose up -d
. - To install dependencies run:
docker-compose exec verify yarn
. - To run tests run:
docker-compose exec verify yarn test
. - To build production image run
docker-compose -f docker-compose.prod.yml build --no-cache
.
- Install
npm install -g aglio
. - Run
mkdir /usr/local/lib/node_modules/aglio/node_modules/aglio-theme-olio/cache
. - Generate
aglio --theme-variables cyborg --theme-template triple -i apiary.apib -o ./docs/index.html
.