{"id":19909078,"url":"https://github.com/dyne/reflow-dpp-demo","last_synced_at":"2025-05-03T02:31:33.624Z","repository":{"id":141086404,"uuid":"449778980","full_name":"dyne/reflow-dpp-demo","owner":"dyne","description":"Produce a Digital Product Passport from Reflow OS object","archived":false,"fork":false,"pushed_at":"2022-01-20T10:29:46.000Z","size":12,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-07T10:35:46.776Z","etag":null,"topics":["crypto","demo","digital","graphql","json","passport","product"],"latest_commit_sha":null,"homepage":"https://dyne.github.io/reflow-dpp-demo/","language":"HTML","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/dyne.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}},"created_at":"2022-01-19T16:55:08.000Z","updated_at":"2025-02-23T11:57:32.000Z","dependencies_parsed_at":"2023-03-17T15:01:06.482Z","dependency_job_id":null,"html_url":"https://github.com/dyne/reflow-dpp-demo","commit_stats":{"total_commits":9,"total_committers":2,"mean_commits":4.5,"dds":0.2222222222222222,"last_synced_commit":"cb6de124d8a0976bba322d9924e224e9eacf722e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dyne%2Freflow-dpp-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dyne%2Freflow-dpp-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dyne%2Freflow-dpp-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dyne%2Freflow-dpp-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dyne","download_url":"https://codeload.github.com/dyne/reflow-dpp-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252133723,"owners_count":21699586,"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":["crypto","demo","digital","graphql","json","passport","product"],"created_at":"2024-11-12T21:14:18.881Z","updated_at":"2025-05-03T02:31:33.346Z","avatar_url":"https://github.com/dyne.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Reflow-dpp-demo\n\nHere you have 2 APIs\n* the API */create-dpp-demo* queries ReflowOS and produces a Digital Product Passport for and object, showcased at https://dyne.github.io/reflow-dpp-demo \n* the API */reflow-print-data* queries ReflowOS for an id and returns an object\n\nThe APIs in ReflowOS are documented here: https://github.com/dyne/bonfire_api_json \n\n# Intro\n\nThe script *reflowDPP-APIs.sh* will install the whole stack to serve the APIs to create a  Digital Product Passport and to retrieve an object from a ReflowOS instance. The Dockerfile will install the same thing inside a Dockerimage.\n\n# Install via shell script\n\n, Download *reflowDPP-APIs.sh*, run it and follow the instructions \n\n* Open the browser at *deployment-machine-ip*:3300/docs (if you're running it on your local machine, 0.0.0.0:3300/docs is fine)\n* In Swagger, pick one of the APIs, and pass it this parameters: \n\n```\n{\n   \"data\":{\n      \"myDataToPOST\":{\n         \"id\":\"01FSMSBAJ3N6NJGA9XBSGTNRT6\",\n         \"recurseLimit\":9,\n         \"unwind\":true\n      }\n   },\n   \"keys\":{\n      \n   }\n}\n```\n\n# Install via Dockerfile\n\nDownload *Dockerfile* and then build it with: \n\n```\ndocker build --tag dyne/reflow-dpp-demo:latest .\n```\n\nand run it at port 3300 using:\n\n```\ndocker run -d -p 3300:3300 -p 3301:3301 dyne/reflow-dpp-demo:latest\n```\n\n\n# The APIs\n\nYou can change the *id* and *recurseLimit* manually, the *unwind* must be on **true**\n\n# The index.html\n\nThis file is currently hosted at https://dyne.github.io/reflow-dpp-demo, you can use it as a template to develop a Web App\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdyne%2Freflow-dpp-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdyne%2Freflow-dpp-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdyne%2Freflow-dpp-demo/lists"}