项目作者: verifid

项目描述 :
Self deployed identity verification layer.
高级语言: Python
项目地址: git://github.com/verifid/vl.git
创建时间: 2018-12-09T20:12:48Z
项目社区:https://github.com/verifid/vl

开源协议:MIT License

下载


Build Status
codecov

vl

vl is the verification layer of verifid, actually the core project that is responsible from verifying identity cards or passports. Basically it’s a self deployed API which has 4 main endpoints. It runs on either Docker or Kubernetes as a container. All endpoints fit in just two controllers and all endpoints have detailly documented. vl relies on some other verifid and as well as other Open Source Python modules. vl uses Nginx as a load balancer and it’s already configured in setup files.

This server was generated by the swagger-codegen project. By using the
OpenAPI-Spec from a remote server, you can easily generate a server stub.

vl header

Endpoints

  • /user
    • /sendUserData
    • /verify
  • /image
    • /uploadIdentity
    • /uploadProfile

vl endpoints

Requirements

  • Python 3.5.2+

Usage

To run the vl server, please execute the following from the root directory

  1. pip3 install -r requirements.txt
  2. python3 -m vl

and open your browser to here

  1. http://localhost:8080/v1/ui/

Your Swagger definition available here

  1. http://localhost:8080/v1/swagger.json

Running with Docker

To run the server on a Docker container, please execute the following from the root directory

  1. # building the image
  2. docker build -t vl .
  3. # starting up a container
  4. docker run -p 5000:5000 vl