{"id":48356793,"url":"https://github.com/decentralised-dataexchange/bb-consent-playground","last_synced_at":"2026-04-05T11:33:37.445Z","repository":{"id":209685045,"uuid":"724698840","full_name":"decentralised-dataexchange/bb-consent-playground","owner":"decentralised-dataexchange","description":"This repository hosts source docker-compose files for GovStack Consent Building Block playground","archived":false,"fork":false,"pushed_at":"2024-04-25T22:51:43.000Z","size":747,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-04-26T00:12:48.125Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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-11-28T16:01:48.000Z","updated_at":"2024-04-25T22:51:47.000Z","dependencies_parsed_at":"2023-12-03T23:20:24.143Z","dependency_job_id":"9aa81b0c-c2f9-463a-b9d7-3ff07ebc4a6b","html_url":"https://github.com/decentralised-dataexchange/bb-consent-playground","commit_stats":null,"previous_names":["decentralised-dataexchange/bb-consent-playground"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/decentralised-dataexchange/bb-consent-playground","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decentralised-dataexchange%2Fbb-consent-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decentralised-dataexchange%2Fbb-consent-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decentralised-dataexchange%2Fbb-consent-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decentralised-dataexchange%2Fbb-consent-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/decentralised-dataexchange","download_url":"https://codeload.github.com/decentralised-dataexchange/bb-consent-playground/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decentralised-dataexchange%2Fbb-consent-playground/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":[],"created_at":"2026-04-05T11:33:37.339Z","updated_at":"2026-04-05T11:33:37.423Z","avatar_url":"https://github.com/decentralised-dataexchange.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n    GovStack Consent BB Playground\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-playground?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-playground?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=\"#requirements\"\u003eRequirements\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 docker-compose files for setting up the playground for the Consent Building Block (BB) microservice.\n\n## Requirements\n\n- docker: `\u003e=23.0.3`\n- docker-compose: `\u003e=2.6.1`\n- jq: `\u003e=1.6.0`\n- gpg: `\u003e=2.2.0`\n\n## Steps to run playground\n\n1. Clone this repo using `git clone git@github.com:decentralised-dataexchange/bb-consent-playground.git`in your local machine, `cd` into the folder `bb-consent-playground`.\n2. Execute `make run`. This sets up the necessary dependencies and configurations for running the playground.\n\nThe other make commands could be used in case you wish to clean up your existing data. \n* Execute `make down`. This stops the playground without deleting the data (volumes).\n* Execute `make clean`. This stops the playground and deletes the data (volumes).\n\n***Note:** To delete any conflicting containers or volumes before running, execute `make destroy`. This will delete all the docker containers and volumes in your machine.*\n\nThe servers are up and running. They are accessible at the below addresses:\n\n| Name                   | Server address                   |\n| ---------------------- | -------------------------------- |\n| Consent BB API  Server | https://api.bb-consent.dev       |\n| Admin dashboard        | https://dashboard.bb-consent.dev |\n| Privacy dashboard      | https://privacy.bb-consent.dev   |\n\nOnce the services are up and running, you can proceed with trying out the use cases manually. You may also do the following:\n\n* Execute APIs towards the API server or [run the BB tests](#steps-to-run-bdd-tests) before release.\n* Get the data4diabtes and skatteverket data-sharing demo environment up and running for manual demos. \n\n## Steps to run BDD tests\n\nThese steps create a test environment to execute automated Behaviour Driven Development (BDD) tests on the consent BB API server. If you have run the playground earlier, please execute `make destroy` before proceeding with the steps below: \n\n1. Execute `make setup-test`. This sets up the necessary dependencies and configurations for running tests.\n2. Execute `make build-test`. This builds the docker image with BDD tests and configuration.\n3. Execute `make run-test`. This runs the BDD tests against the test environment.\n\n***Note:***\n- *Test environment can be setup by executing `./test/test-entrypoint.sh` file manually.*\n- *Test environment does not persist any of the data.*\n\n## Steps to set up the demo environment\n\n### Setup the services\n\nRun the script provided in /demo folder. Once run, the servers are up and running. They are accessible at the addresses below:\n\n| Name                              | Server address                       |\n| ----------------------------------| ------------------------------------ |\n| Consent BB API  Server            | https://api.bb-consent.dev           |\n| Admin dashboard (Data4Diabtes)    | https://d4d-dashboard.bb-consent.dev |\n| Privacy dashboard (Data4Diabetes) | https://d4d-privacy.bb-consent.dev   |\n| Admin dashboard (Skatteverket)    | https://sv-dashboard.bb-consent.dev  |\n| Privacy dashboard (Skatteverket)  | https://sv-privacy.bb-consent.dev    |\n\n### Connect your mobile app to the running instance\n\nYou can contact support @ igrant.io to get the data4diabtes reference app and instructions on connecting to the local service. \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\n\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-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdecentralised-dataexchange%2Fbb-consent-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdecentralised-dataexchange%2Fbb-consent-playground/lists"}