{"id":25553899,"url":"https://github.com/docusign/code-examples-react","last_synced_at":"2025-04-11T22:51:06.382Z","repository":{"id":54135536,"uuid":"353729528","full_name":"docusign/code-examples-react","owner":"docusign","description":"Code example for React with OAuth Implicit grant authentication and example DocuSign eSignature API calls.","archived":false,"fork":false,"pushed_at":"2023-12-04T09:15:05.000Z","size":780,"stargazers_count":15,"open_issues_count":2,"forks_count":13,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-25T18:45:41.621Z","etag":null,"topics":["docusign-api","docusign-rest","electronic-signatures","react"],"latest_commit_sha":null,"homepage":"","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/docusign.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":"2021-04-01T14:36:24.000Z","updated_at":"2025-02-01T05:36:51.000Z","dependencies_parsed_at":"2022-08-13T07:20:18.217Z","dependency_job_id":null,"html_url":"https://github.com/docusign/code-examples-react","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docusign%2Fcode-examples-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docusign%2Fcode-examples-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docusign%2Fcode-examples-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docusign%2Fcode-examples-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/docusign","download_url":"https://codeload.github.com/docusign/code-examples-react/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248492986,"owners_count":21113161,"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":["docusign-api","docusign-rest","electronic-signatures","react"],"created_at":"2025-02-20T12:03:09.296Z","updated_at":"2025-04-11T22:51:06.359Z","avatar_url":"https://github.com/docusign.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# code-examples-react\n\n## Installation\n* Install Node.js v12, yarn, and npm.\n* Clone, fork, or download as a zip file.\n* Enter the app's directory and type `yarn install`.\n* After configuration (see below), type `yarn start` to start the \n  app in development mode.\n\n## Configuration\nCreate an integration key (client id) that enables **Implicit Grant**.\nThe integration key does not need a secret nor an RSA private key.\n\nDecide if you want the application to redirect its browser tab for authentication\nto the DocuSign Identity Provider (IdP) or if it should open a new tab for authentication. \n\nDecide what the application's URL is. For development, the default \napplication URL is\n`http://localhost:3000/code-examples-react/build`\n\n### Redirect URIs\nAdd one or two Redirect URIs to the integration key:\n* For redirecting to the IdP, add a Redirect URI that is the same as the application's URL.\n* For opening a new tab to the IdP, add a Redirect URI that is the application's URL with\n  `/oauthResponse.html` appended.\n\n### Private CORS proxies\nCreate one or more private CORS proxies. See the \n[blog post](https://www.docusign.com/blog/dsdev-building-single-page-applications-with-docusign-and-cors-part-2).\nFor nginx, see the [CORS proxy configuration file](https://github.com/docusign/blog-create-a-CORS-gateway/blob/master/nginx_site_file).\n\nYou will add the proxy address or addresses to \nthe config.js file (see below).\n\nIf you'd like to use CORS in production, \nask your DocuSign support contact to add your company\nname to PORTFOLIO-1100. This will help raise the prioritization\nof adding CORS to the eSignature API.\n\n### Configuration file\nCopy the file `public/config_example.js` to `public/config.js` and fill in the settings.\n\nThe config.js file should not be stored with the repository.\n\n## Pull Requests and Questions\nPull requests (PRs) are welcomed, all PRs must use the MIT license.\n\nIf you have questions about this code example, please \nask on StackOverflow, using the `docusignapi` tag.\n\n# Getting Started with Create React App\n(The following is the default Readme for apps built with the Create React App utility.)\n\nThis project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).\n\n## Available Scripts\n\nIn the project directory, you can run:\n\n### `yarn start`\n\nRuns the app in the development mode.\\\nOpen [http://localhost:3000](http://localhost:3000) to view it in the browser.\n\nThe page will reload if you make edits.\\\nYou will also see any lint errors in the console.\n\n### `yarn test`\n\nLaunches the test runner in the interactive watch mode.\\\nSee the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.\n\n### `yarn build`\n\nBuilds the app for production to the `build` folder.\\\nIt correctly bundles React in production mode and optimizes the build for the best performance.\n\nThe build is minified and the filenames include the hashes.\\\nYour app is ready to be deployed!\n\nSee the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.\n\n### `yarn eject`\n\n**Note: this is a one-way operation. Once you `eject`, you can’t go back!**\n\nIf you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.\n\nInstead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.\n\nYou don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.\n\n## Learn More\n\nYou can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).\n\nTo learn React, check out the [React documentation](https://reactjs.org/).\n\n### Code Splitting\n\nThis section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)\n\n### Analyzing the Bundle Size\n\nThis section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)\n\n### Making a Progressive Web App\n\nThis section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)\n\n### Advanced Configuration\n\nThis section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)\n\n### Deployment\n\nThis section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)\n\n### `yarn build` fails to minify\n\nThis section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocusign%2Fcode-examples-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdocusign%2Fcode-examples-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocusign%2Fcode-examples-react/lists"}