{"id":48356857,"url":"https://github.com/decentralised-dataexchange/bb-consent-api","last_synced_at":"2026-04-05T11:33:42.623Z","repository":{"id":188869679,"uuid":"679525891","full_name":"decentralised-dataexchange/bb-consent-api","owner":"decentralised-dataexchange","description":"This repository hosts source code for the reference implementation of GovStack Consent Building Block service APIs","archived":false,"fork":false,"pushed_at":"2024-03-14T16:17:35.000Z","size":1208,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-16T03:38:06.189Z","etag":null,"topics":["consent-bb","govstack"],"latest_commit_sha":null,"homepage":"https://govstack.gitbook.io/bb-consent/8-service-apis","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/decentralised-dataexchange.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,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-08-17T03:39:06.000Z","updated_at":"2024-02-20T09:29:35.000Z","dependencies_parsed_at":"2024-01-17T15:15:37.394Z","dependency_job_id":"106ccb26-e91a-42af-9686-d17c5d22f481","html_url":"https://github.com/decentralised-dataexchange/bb-consent-api","commit_stats":null,"previous_names":["decentralised-dataexchange/bb-consent-api"],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/decentralised-dataexchange/bb-consent-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decentralised-dataexchange%2Fbb-consent-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decentralised-dataexchange%2Fbb-consent-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decentralised-dataexchange%2Fbb-consent-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decentralised-dataexchange%2Fbb-consent-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/decentralised-dataexchange","download_url":"https://codeload.github.com/decentralised-dataexchange/bb-consent-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decentralised-dataexchange%2Fbb-consent-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31434624,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T08:13:15.228Z","status":"ssl_error","status_checked_at":"2026-04-05T08:13:11.839Z","response_time":75,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["consent-bb","govstack"],"created_at":"2026-04-05T11:33:41.826Z","updated_at":"2026-04-05T11:33:42.556Z","avatar_url":"https://github.com/decentralised-dataexchange.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n    GovStack Consent BB API\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"/../../commits/\" title=\"Last Commit\"\u003e\u003cimg src=\"https://img.shields.io/github/last-commit/decentralised-dataexchange/bb-consent-api?style=flat\"\u003e\u003c/a\u003e\n    \u003ca href=\"/../../issues\" title=\"Open Issues\"\u003e\u003cimg src=\"https://img.shields.io/github/issues/decentralised-dataexchange/bb-consent-api?style=flat\"\u003e\u003c/a\u003e\n    \u003ca href=\"./LICENSE\" title=\"License\"\u003e\u003cimg src=\"https://img.shields.io/badge/License-Apache%202.0-yellowgreen?style=flat\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#about\"\u003eAbout\u003c/a\u003e •\n  \u003ca href=\"#release-status\"\u003eRelease Status\u003c/a\u003e •\n  \u003ca href=\"#contributing\"\u003eContributing\u003c/a\u003e •\n  \u003ca href=\"#licensing\"\u003eLicensing\u003c/a\u003e\n\u003c/p\u003e\n\n## About\n\nThis repository hosts source code for the reference implementation of GovStack Consent Building Block service APIs\n\n## Release Status\n\nReleased. Refer to the [wiki page](https://github.com/decentralised-dataexchange/bb-consent-docs/wiki/wps-and-deliverables) for the latest status of the deliverables.\n\n## Instructions to run\n\nThe prerequisites for getting the server up and running are as follows:\n\n1. Docker is up and running on your server. You can check it using the command docker ps.\n2. Pre-install [jq](https://jqlang.github.io/jq/), a lightweight and flexible command-line JSON processor for parsing and manipulating JSON data.\n\nYou can request a pre-defined configuration file and skip the following steps by contacting [support@igrant.io](mailto:support@igrant.io). Please specify the desired admin username in your request. Alternatively, you can proceed with steps 3 and 4 for manual installation and configuration.\n\n3. Install keycloak and use the parameters in step 4 configurations below.\n4. The configuration parameters used by the Consent BB API server is created at \u003cserver address\u003e/bb-consent-api/resources/config/config-development.json. This sets up the default parameters for the Consent BB server instance, such as organisation details, admin access security (with keycloak, etc. This can also be modified later but would require building the server again.\n\nNote: It is recommended to remove all container instances and volumes running using `docker container rm -f $(docker container ls -aq)` and `docker volume rm $(docker volume ls -q)`. If any of the steps below need to be repeated, we recommend this step to ensure a clean environment.  \n\nNow, follow the steps below to get the ConsentBB API server up and running:  \n\n1. Clone this repository to your local server using `git clone`.\n2. Check out the latest release or any available release you wish to run. E.g. `git checkout tags/2023.10.4`.\n3. Execute `make setup`. This sets up the necessary dependencies and configurations for running the Consent BB API server instance.\n4. Execute `make api/build`. The compiles and assembles source code into executable files or libraries, following the instructions specified in the Makefile of Consent BB API server instance.\n5. Execute `make api/run`.  This executes a predefined set of instructions in the  Makefile to launch or run the compiled Consent BB API server instance.\n\nThe server is up and running now locally at https://api.bb-consent.dev/v2. You can use openAPIs with postman or the admin dashboard to interact with the Consent BB server instance.\n\n## Other resources\n\n* Wiki - https://github.com/decentralised-dataexchange/consent-dev-docs/wiki\n\n## Contributing\n\nFeel free to improve the plugin and send us a pull request. If you find any problems, please create an issue in this repo.\n\n## Licensing\nCopyright (c) 2023-25 LCubed AB (iGrant.io), Sweden\n\nLicensed under the Apache 2.0 License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License.\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the LICENSE for the specific language governing permissions and limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdecentralised-dataexchange%2Fbb-consent-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdecentralised-dataexchange%2Fbb-consent-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdecentralised-dataexchange%2Fbb-consent-api/lists"}