{"id":15069954,"url":"https://github.com/openware/react-barong","last_synced_at":"2025-10-16T19:45:59.229Z","repository":{"id":40794576,"uuid":"237226386","full_name":"openware/react-barong","owner":"openware","description":"Barong React SignUp and SignIn component library","archived":false,"fork":false,"pushed_at":"2023-01-06T02:29:30.000Z","size":3286,"stargazers_count":3,"open_issues_count":41,"forks_count":10,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-05T22:07:03.854Z","etag":null,"topics":["barong","microservices","react","reactjs"],"latest_commit_sha":null,"homepage":"https://www.openware.com","language":"TypeScript","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/openware.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}},"created_at":"2020-01-30T14:07:35.000Z","updated_at":"2025-02-17T03:24:49.000Z","dependencies_parsed_at":"2023-02-05T03:16:16.889Z","dependency_job_id":null,"html_url":"https://github.com/openware/react-barong","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openware%2Freact-barong","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openware%2Freact-barong/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openware%2Freact-barong/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openware%2Freact-barong/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openware","download_url":"https://codeload.github.com/openware/react-barong/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248261037,"owners_count":21074216,"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":["barong","microservices","react","reactjs"],"created_at":"2024-09-25T01:45:54.873Z","updated_at":"2025-10-16T19:45:54.178Z","avatar_url":"https://github.com/openware.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Cryptocurrency Exchange Platform - OpenDAX](https://github.com/openware/meta/raw/main/images/github_opendax.png)\n\n\u003ch3 align=\"center\"\u003e\n\u003ca href=\"https://www.openware.com/sdk\"\u003eGuide\u003c/a\u003e \u003cspan\u003e\u0026vert;\u003c/span\u003e\n\u003ca href=\"https://www.openware.com/sdk/api.html\"\u003eAPI Docs\u003c/a\u003e \u003cspan\u003e\u0026vert;\u003c/span\u003e\n\u003ca href=\"https://www.openware.com/\"\u003eConsulting\u003c/a\u003e \u003cspan\u003e\u0026vert;\u003c/span\u003e\n\u003ca href=\"https://t.me/peatio\"\u003eCommunity\u003c/a\u003e\n\u003c/h3\u003e\n\u003ch6 align=\"center\"\u003eBarong is part of \u003ca href=\"https://github.com/openware/opendax\"\u003eOpenDAX Trading Platform\u003c/a\u003e\u003c/h6\u003e\n\n---\n\n# react-barong\n\n[![NPM](https://img.shields.io/npm/v/react-barong.svg)](https://www.npmjs.com/package/react-barong) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\n\u003e Barong React Authentication components for [barong](https://github.com/openware/barong)\n\n## Installation\n\nIf you want to add package to your project run:\n\n```bash\nnpm install --save react-barong\n```\n\n## Glossary\n\n-   [BarongLoginForm](#BarongLoginForm)\n-   [BarongRegisterForm](#BarongRegisterForm)\n-   [BarongLogoutButton](#BarongLogoutButton)\n-   [BarongResetPasswordForm](#BarongResetPasswordForm)\n-   [BarongForgotPasswordForm](#BarongForgotPasswordForm)\n-   [ConfirmEmailForm](#ConfirmEmailForm)\n-   [Demo](#Demo)\n-   [Local development](#Local-development)\n-   [License](#License)\n\n### BarongLoginForm\n\nLogin form\n\n| Name                        | Type      | Required | Description                                                                 | Default                                                      |\n| --------------------------- | --------- | -------- | --------------------------------------------------------------------------- | ------------------------------------------------------------ |\n| `redirection`               | `string`  | Yes      | Redirection URL after successful submit.                                    |                                                              |\n| `host`                      | `string`  | Yes      | Barong host string. Example: `https://foo-exchange.com/api/v2`.             |                                                              |\n| `testMode`                  | `boolean` | No       | If test mode is `true`, the submit is fired without calling the barong API. |                                                              |\n| `forgotPasswordUrl`         | `string`  | No       | If set, the forgot password lint will be appeared.                          |                                                              |\n| `confirmationEmailSentText` | `string`  | No       | Text which appear after confirmation email is sent.                         | `Your email is not verified. We sent you confirmation link.` |\n\n### BarongRegisterForm\n\nRegister form\n\n| Name          | Type      | Required | Description                                                                 |\n| ------------- | --------- | -------- | --------------------------------------------------------------------------- |\n| `redirection` | `string`  | Yes      | Redirection URL after successful submit.                                    |\n| `host`        | `string`  | Yes      | Barong host string. Example: `https://foo-exchange.com/api/v2`.             |\n| `testMode`    | `boolean` | No       | If test mode is `true`, the submit is fired without calling the barong API. |\n\n### BarongLogoutButton\n\nLog out button\n\n| Name          | Type                                                 | Required | Description                                                                 |\n| ------------- | ---------------------------------------------------- | -------- | --------------------------------------------------------------------------- |\n| `redirection` | `string`                                             | Yes      | Redirection URL after successful submit.                                    |\n| `host`        | `string`                                             | Yes      | Barong host string. Example: `https://foo-exchange.com/api/v2`.             |\n| `testMode`    | `boolean`                                            | No       | If test mode is `true`, the submit is fired without calling the barong API. |\n| `render`      | (options: [LogoutButtonProps](#LogoutButtonProps)) =\u003e React.ReactElement | No       | Renders custom button                                                       |\n| `text`        | `string`                                             | No       | Buttons string content. Default value: `Log Out`                            |\n\n#### LogoutButtonProps\n\nLog out button options\n\n| Name      | Type         | Required | Description   |\n| --------- | ------------ | -------- | ------------- |\n| `onClick` | `() =\u003e void` | Yes      | Click handler |\n\n### BarongResetPasswordForm\n\nReset password form\n\n| Name                 | Type      | Required | Description                                                                 | Default                |\n| -------------------- | --------- | -------- | --------------------------------------------------------------------------- | ---------------------- |\n| `redirection`        | `string`  | Yes      | Redirection URL after successful submit.                                    |                        |\n| `host`               | `string`  | Yes      | Barong host string. Example: `https://foo-exchange.com/api/v2`.             |                        |\n| `testMode`           | `boolean` | No       | If test mode is `true`, the submit is fired without calling the barong API. |                        |\n| `tokenParameterName` | `string`  | No       | Name of the query parameter for token.                                      | `reset_password_token` |\n\n### BarongForgotPasswordForm\n\nReset password form\n\n| Name       | Type      | Required | Description                                                                 | Default |\n| ---------- | --------- | -------- | --------------------------------------------------------------------------- | ------- |\n| `host`     | `string`  | Yes      | Barong host string. Example: `https://foo-exchange.com/api/v2`.             |         |\n| `testMode` | `boolean` | No       | If test mode is `true`, the submit is fired without calling the barong API. |         |\n| `delay`    | `number`  | No       | Seconds passed the user can resend an email.                                | `60`    |\n\n### ConfirmEmailForm\n\nReset password form\n\n| Name                 | Type              | Required | Description                                                                 | Default                    |\n| -------------------- | ----------------- | -------- | --------------------------------------------------------------------------- | -------------------------- |\n| `host`               | `string`          | Yes      | Barong host string. Example: `https://foo-exchange.com/api/v2`.             |                            |\n| `testMode`           | `boolean`         | No       | If test mode is `true`, the submit is fired without calling the barong API. |                            |\n| `tokenParameterName` | `string`          | No       | Name of the query parameter for token.                                      | `token`                    |\n| `pendingContent`     | `React.ReactNode` | No       | Pending content.                                                            | `Pending confirmation...`  |\n| `successContent`     | `React.ReactNode` | No       | Success content.                                                            | `Your email is confirmed.` |\n| `errorContent`       | `React.ReactNode` | No       | Error content.                                                              | `Confirmation error.`      |\n\n## Demo\n\nIf you want to see demo of this application:\n\n1. Clone repositroy\n2. Run\n\n```bash\nnpm install\nnpm build\n```\n\n3. Go to _./example_ directory and start development server:\n\n```bash\nnpm install\nnpm start\n```\n\n## Local development\n\nFor local development you can change version of `react-barong` inside ./example/package.json for\n\n```json\n\"react-barong\": \"link:..\"\n```\n\nthen, in root folder, run\n\n```bash\nnpm install\nnpm start\n```\n\nand start development server\n\n```bash\ncd ./example\nnpm install\nnpm start\n```\n\n## License\n\nApache 2.0 © [openware](https://github.com/openware)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenware%2Freact-barong","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenware%2Freact-barong","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenware%2Freact-barong/lists"}