{"id":22519451,"url":"https://github.com/hydrogen-dev/raindrop-ui-web","last_synced_at":"2025-08-03T18:32:33.153Z","repository":{"id":55658302,"uuid":"130347969","full_name":"hydrogen-dev/raindrop-ui-web","owner":"hydrogen-dev","description":null,"archived":false,"fork":false,"pushed_at":"2020-12-14T20:34:14.000Z","size":262,"stargazers_count":8,"open_issues_count":2,"forks_count":9,"subscribers_count":9,"default_branch":"master","last_synced_at":"2023-03-03T06:42:33.090Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/hydrogen-dev.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}},"created_at":"2018-04-20T10:33:00.000Z","updated_at":"2020-11-17T12:00:33.000Z","dependencies_parsed_at":"2022-08-15T05:50:19.257Z","dependency_job_id":null,"html_url":"https://github.com/hydrogen-dev/raindrop-ui-web","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hydrogen-dev%2Fraindrop-ui-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hydrogen-dev%2Fraindrop-ui-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hydrogen-dev%2Fraindrop-ui-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hydrogen-dev%2Fraindrop-ui-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hydrogen-dev","download_url":"https://codeload.github.com/hydrogen-dev/raindrop-ui-web/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228558718,"owners_count":17936735,"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-12-07T04:20:22.425Z","updated_at":"2024-12-07T04:20:23.749Z","avatar_url":"https://github.com/hydrogen-dev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Client-Side Raindrop UI - Web\n\nThis UI demo is an example implementation of the Client-Side Raindrop Authentication protocol. For a walkthrough of this process, see our [implementation guide](https://medium.com/hydrogen-api/client-side-raindrop-an-implementation-guide-4e61c84e9dda).\n\n## Initial Setup\n\n- Download the testing Hydro mobile app: after requesting an `applicationId` through the [Hydrogen Platform developer portal](https://www.hydrogenplatform.com/login), you will be given a Testflight link to download a version of the app compatible with the `Sandbox` environment. The live Hydro mobile app on the app store **will not be compatible** with your `Sandbox` development. When you have finished developing your integration in `Sandbox`, you will need to request and be given `Production` keys, at which point you can roll the product out to your users who will be using the public-facing Hydro mobile app on the App Store.\n\n- Initialize the example backend: visit the [backend/](./backend) folder for setup instructions.\n\n- Initialize the example frontend: visit the [frontend/](./frontend) folder for setup instructions.\n\nNote: If you restart your backend without refreshing the frontend, it's possible for some session variables to get out of sync. Not to fear, simply refreshing the frontend should fix any issues!\n\n## Terms\nOnce your demo is live, you can begin testing out the system! It will be helpful to define some key terms:\n\n- Backend: A privileged server running code. It can receive and send data to/from the `frontend`. The two communicate via the `backend`'s internal API.\n- Database: The database, only accessible to code running on the backend, must store, at minimum, 3 columns: `internalUsername`, `hydroID`, `confirmed`. This codifies the following relationship: users of your site can link their account (identified by `internalUsername`, a unique identifier) with their `hydroID` (a unique identifier from the Hydro mobile app). When users first enter their `hydroID`, `confirmed` must be set to `false`, and should only be set to `true` after a user successfully signs a message (i.e. after you successfully call the `verifySignature` endpoint of the `Hydro API`).\n- Blockchain: Client Raindrop relies on information being stored in the `blockchain`. The `Hydro API` manages all interactions with the blockchain so you don't have to!\n- Frontend: The `frontend` is your client-facing website. Users must be able to opt in to Client Raindrop by providing their `hydroID`. They then should be prompted to verify this link via a first-time signature verification. Once the link is confirmed, users should be required to sign a message for every login/transaction/etc. that you wish to protect with Client Raindrop.\n- Raindrop SDK: A [Javascript wrapper](https://github.com/hydrogen-dev/raindrop-sdk-js) for making calls to the `Hydro API`. Abstracts away from many of the trivialities of making API calls.\n- Hydro API: The API that powers Client-Side Raindrop. The `backend` makes calls to the `Hydro API`, authenticated with your secret credentials.\n\n\n## Copyright \u0026 License\nCopyright 2018 The Hydrogen Technology Corporation under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhydrogen-dev%2Fraindrop-ui-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhydrogen-dev%2Fraindrop-ui-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhydrogen-dev%2Fraindrop-ui-web/lists"}