{"id":21538348,"url":"https://github.com/rarimo/questn-integration-svc","last_synced_at":"2025-06-18T06:34:18.450Z","repository":{"id":203268712,"uuid":"709210697","full_name":"rarimo/questn-integration-svc","owner":"rarimo","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-24T09:03:11.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-09T18:11:05.284Z","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":"mit","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":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-10-24T08:50:29.000Z","updated_at":"2023-10-24T08:51:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"7b8a5a05-a0a9-4d4d-95ef-bdedaebd1920","html_url":"https://github.com/rarimo/questn-integration-svc","commit_stats":null,"previous_names":["rarimo/questn-integration-svc"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/rarimo/questn-integration-svc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rarimo%2Fquestn-integration-svc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rarimo%2Fquestn-integration-svc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rarimo%2Fquestn-integration-svc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rarimo%2Fquestn-integration-svc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rarimo","download_url":"https://codeload.github.com/rarimo/questn-integration-svc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rarimo%2Fquestn-integration-svc/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260506455,"owners_count":23019413,"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:43.153Z","updated_at":"2025-06-18T06:34:13.440Z","avatar_url":"https://github.com/rarimo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# questn-integration-svc\n\nThe QuestN integration API for certain actions’ verification.\n\n## API\n\n[API Technical Documentation](https://questn.notion.site/API-Technical-Documentation-2aa6cc8c1ba546cbb8b4e0156fba6e31)\n\nStatus Code of the endpoint's response is always 200 and optionally contains error field in the response body.\n\nExample: \n```json\n{\n  \"error\": {\n    \"code\": 400,\n    \"message\": \"Bad Request\"\n  },\n  \"data\": {\n    \"result\": false\n  }\n}\n```\n\nMainnet endpoint:\n[https://api.thegraph.com/subgraphs/name/volodymyrzolotukhin/sbtidentityverifier-polygon](https://api.thegraph.com/subgraphs/name/volodymyrzolotukhin/sbtidentityverifier-polygon)\n\nMainnet-Beta endpoint:\n[https://api.thegraph.com/subgraphs/name/volodymyrzolotukhin/sbtidentityverifier](https://api.thegraph.com/subgraphs/name/volodymyrzolotukhin/sbtidentityverifier)\n\n\n## Build\n\nTo build the service image locally, there is a shell script `build.sh` that can be used to build the image:\n\n```bash\nsh build.sh\n```\n\nIt will build the image with the tag `questn-integration-svc:latest` which could be used to run the service locally via \nDocker or Docker-Compose.\n\n## Run\n\nTo run the service locally you could use Docker-Compose. There is a `docker-compose.yml` file that could be used to run:\n\n```yaml\nversion: \"3.7\"\n\nservices:\n  questn-integration-svc:\n    image: questn-integration-svc:latest\n    restart: on-failure\n    ports:\n      - \"8000:8000\"\n    volumes:\n      - ./config.yaml:/config.yaml\n    environment:\n      - KV_VIPER_FILE=/config.yaml\n    entrypoint: sh -c \"questn-integration-svc run api\"\n```\n\n**Tip:** \nYou need to create config file for the service, [there is example](./config-example.yaml) of it inside the repository.\nInside the `docker-compose.yml` file you need to specify the path to the config file in the `volumes` section or use the\nsame as in the example if it equals.\n\nTo run the service via Docker-Compose you need to run the following command:\n\n```bash\ndocker-compose up -d\n```\n\nThe API of the service will be available on the port `8000` of your local machine.\n\n## Testing\n\nTo test the service locally after it was started you could use `curl`:\n\n```bash\ncurl 'http://localhost:8000/questn/v1/poh_status?address=0x457ccef368a14c4d02c4b2a607bfeafc7e06cd5b' \\\n  -H 'Content-Type: application/json' \\\n  --compressed\n```\n\n## License\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frarimo%2Fquestn-integration-svc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frarimo%2Fquestn-integration-svc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frarimo%2Fquestn-integration-svc/lists"}