{"id":21538309,"url":"https://github.com/rarimo/verificator-svc","last_synced_at":"2025-03-17T20:47:37.638Z","repository":{"id":253252106,"uuid":"842942215","full_name":"rarimo/verificator-svc","owner":"rarimo","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-24T08:10:53.000Z","size":10556,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-24T08:12:25.530Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rarimo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-15T12:48:29.000Z","updated_at":"2024-10-24T08:10:25.000Z","dependencies_parsed_at":"2024-08-15T14:47:38.690Z","dependency_job_id":"b902c62c-a7e5-4aae-bc36-2ecbf0e7890c","html_url":"https://github.com/rarimo/verificator-svc","commit_stats":null,"previous_names":["rarimo/verificator-svc"],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rarimo%2Fverificator-svc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rarimo%2Fverificator-svc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rarimo%2Fverificator-svc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rarimo%2Fverificator-svc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rarimo","download_url":"https://codeload.github.com/rarimo/verificator-svc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244110086,"owners_count":20399561,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-24T04:11:37.507Z","updated_at":"2025-03-17T20:47:37.633Z","avatar_url":"https://github.com/rarimo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# verificator-svc\n\n## Description\n\nThe service allows to verify [query proofs](https://github.com/rarimo/passport-zk-circuits/?tab=readme-ov-file#query-circuit).\nThe private endpoints must be available only inside your backend system.\n\nLight verification is deprecated.\nSee also [integration doc](https://rarimo.notion.site/Requesting-ZK-Passport-proofs-dc43d1102e104d008e0d1c7db5326286)\n\n## Install\n\n  ```\n  git clone github.com/rarimo/verificator-svc\n  cd verificator-svc\n  go build main.go\n  export KV_VIPER_FILE=./config.yaml\n  ./main migrate up\n  ./main run service\n  ```\n\n## Configuration\n\nYou must specify following parameters before run the service:\n- event_id - random decimal (up to 31 byte)\n- callback_url - domain of your instance of the service\n- allowed_identity_timestamp - date of your first production launch\n\n## Documentation\n\nWe do use openapi:json standard for API. We use swagger for documenting our API.\n\nTo open online documentation, go to [swagger editor](http://localhost:8080/swagger-editor/) here is how you can start it\n```\n  cd docs\n  npm install\n  npm start\n```\nTo build documentation use `npm run build` command,\nthat will create open-api documentation in `web_deploy` folder.\n\nTo generate resources for Go models run `./generate.sh` script in root folder.\nuse `./generate.sh --help` to see all available options.\n\nNote: if you are using Gitlab for building project `docs/spec/paths` folder must not be\nempty, otherwise only `Build and Publish` job will be passed.  \n\n## Running from docker \n  \nMake sure that docker installed.\n\nuse `docker run ` with `-p 8080:80` to expose port 80 to 8080\n\n  ```\n  docker build -t github.com/rarimo/verificator-svc .\n  docker run -e KV_VIPER_FILE=/config.yaml github.com/rarimo/verificator-svc\n  ```\n\n## Running from Source\n\n* Set up environment value with config file path `KV_VIPER_FILE=./config.yaml`\n* Provide valid config file\n* Launch the service with `migrate up` command to create database schema\n* Launch the service with `run service` command\n\n\n### Database\nFor services, we do use ***PostgresSQL*** database. \nYou can [install it locally](https://www.postgresql.org/download/) or use [docker image](https://hub.docker.com/_/postgres/).\n\n\n### Third-party services\n\n\n## Contact\n\nResponsible \nThe primary contact for this project is  [//]: # (TODO: place link to your telegram and email)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frarimo%2Fverificator-svc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frarimo%2Fverificator-svc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frarimo%2Fverificator-svc/lists"}