{"id":26233656,"url":"https://github.com/docknetwork/demo","last_synced_at":"2025-03-13T01:17:00.044Z","repository":{"id":104957364,"uuid":"519022226","full_name":"docknetwork/demo","owner":"docknetwork","description":"A Dock Demo Application","archived":false,"fork":false,"pushed_at":"2024-09-13T14:26:24.000Z","size":761,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-09-14T05:23:09.663Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://try.dock.io","language":"JavaScript","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/docknetwork.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,"publiccode":null,"codemeta":null}},"created_at":"2022-07-28T23:34:36.000Z","updated_at":"2024-09-13T14:26:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"da7e3096-1ed3-4f0a-87e9-67b39a566ed8","html_url":"https://github.com/docknetwork/demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docknetwork%2Fdemo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docknetwork%2Fdemo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docknetwork%2Fdemo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docknetwork%2Fdemo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/docknetwork","download_url":"https://codeload.github.com/docknetwork/demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243318783,"owners_count":20272145,"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":"2025-03-13T01:16:59.477Z","updated_at":"2025-03-13T01:17:00.024Z","avatar_url":"https://github.com/docknetwork.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dock API Demo App\n\nThis is a demo application showing how you can use the [Dock API](https://docs.dock.io/developer-documentation/dock-api) for credential issuance and verification. It offers a basic employee portal where a ficticious individual can be issued credentials that can be used with the [Dock Wallet](https://www.dock.io/dock-wallet-app) app.\n\n## Getting Started\n\nFirst, setup a .env file in the project's root folder\n\n```bash\nDOCK_API_URL=https://api-testnet.dock.io\nDOCK_API_TOKEN=  # you can generate a key at https://certs.dock.io/keys\nDOCK_API_DID= # the DID to use for the issuer. You can generate one here: https://certs.dock.io/dids\nNEXT_PUBLIC_SERVER_URL= # the URL where this app is listening (e.g. http://192.168.0.100:3000 or http://localhost:3000)\n```\n\nThen, run the development server:\n\n```bash\nnpm run dev -- -H IP_OR_HOSTNAME_WHERE_APP_IS_RUNNING\n# or\nyarn dev -- -H IP_OR_HOSTNAME_WHERE_APP_IS_RUNNING\n```\n\nThe `-- -H [IP]` option above is needed to allow scanning of the credentials and presentations to work in your wallet app.\n\nOpen [NEXT_PUBLIC_SERVER_URL] with your browser to see the app.\n\nYou can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file.\n\nThe `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocknetwork%2Fdemo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdocknetwork%2Fdemo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocknetwork%2Fdemo/lists"}