Skip to content

Commit 0426a6a

Browse files
authored
Merge pull request #75 from docusign/Rename
Renaming the app from MySure to Insurance Sample App
2 parents be7ee50 + a47e722 commit 0426a6a

File tree

11 files changed

+27
-30
lines changed

11 files changed

+27
-30
lines changed

README.MD

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# Python and React: MySure Insurance Sample Application
1+
# Python and React: Insurance Sample Application
22

3-
### Github repo: MySureSampleApp
3+
### Github repo: sample-app-insurance-python
44

55
## Introduction
6-
MySuresample application written in Python 3.7 (server) and React (client). You can find a live instance running at [https://mysure.sampleapps.docusign.com/](https://mysure.sampleapps.docusign.com/).
6+
The Docusign Insurance Sample App written in Python 3.7 (server) and React (client). You can find a live instance running at [https://insurance.sampleapps.docusign.com/](https://insurance.sampleapps.docusign.com/).
77

8-
MySure demonstrates the following:
8+
The Insurance Sample App demonstrates the following:
99

1010
1. Authentication with Docusign via [JSON Web Token (JWT) Grant](https://developers.docusign.com/platform/auth/jwt/)
1111
2. **Submit a claim:** [Source](./app/api/requests.py)
@@ -57,8 +57,8 @@ MySure demonstrates the following:
5757

5858
**Manual**
5959

60-
1. Download or clone this repository to your workstation in a new folder named **sample-app-mysure-python**.
61-
2. Navigate to that folder: **`cd sample-app-mysure-python`**
60+
1. Download or clone this repository to your workstation in a new folder named **sample-app-insurance-python**.
61+
2. Navigate to that folder: **`cd sample-app-insurance-python`**
6262
3. Install python packages: **`pip install -r requirements.txt`**
6363
4. Install React dependencies using the [npm](https://www.npmjs.com/) package manager: **npm install**
6464
5. Update the **.env** file with the integration key and other settings.
@@ -69,8 +69,8 @@ MySure demonstrates the following:
6969
7070
**Using installation scripts**
7171

72-
1. Download or clone this repository to your workstation in a new folder named **sample-app-mysure-python**.
73-
2. Navigate to the scripts subfolder:**`cd sample-app-mysure-python/scripts`**
72+
1. Download or clone this repository to your workstation in a new folder named **sample-app-insurance-python**.
73+
2. Navigate to the scripts subfolder:**`cd sample-app-insurance-python/scripts`**
7474
3. Run the installation script: **`./install.sh`** (`./install.bat` for Windows)
7575
4. Update the **.env** file with the integration key and other settings.
7676
> **Note:** Protect your integration key and client secret. You should make sure that the **.env** file will not be stored in your source code repository.
@@ -81,11 +81,11 @@ All installation scripts are located in the **scripts** folder.
8181
1. To stop the application, run **`./stop.sh`**
8282
1. To remove the virtual environment and modules, run **`./clean.sh`**
8383

84-
## Running MySure
84+
## Running the Insurance Sample App
8585

8686
### Manual
8787

88-
1. Navigate to the application folder: **`cd sample-app-mysure-python`**
88+
1. Navigate to the application folder: **`cd sample-app-insurance-python`**
8989
2. Run the application: **`flask run --port 5001`**
9090
3. Run npm: **`npm start`**
9191
4. Open a browser to **http://localhost:3000**
179 KB
Loading

public/MySure_OG.png

-15 KB
Binary file not shown.

public/index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818
/>
1919
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
2020
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
21-
<title>MySure Docusign Sample Application</title>
22-
<meta name="description" content="See how the MySure Docusign sample application for insurance showcases the capabilities of the Docusign API to enable you to integrate Docusign functionality into your own applications.">
21+
<title>Insurance Sample App</title>
22+
<meta name="description" content="See how the Docusign sample application for insurance showcases the capabilities of the Docusign API to enable you to integrate Docusign functionality into your own applications.">
2323
<meta property="og:type" content="article" />
24-
<meta name="twitter:title" content="MySure Docusign Sample Application" />
25-
<meta name="twitter:description" content="See how the MySure Docusign sample application for insurance showcases the capabilities of the Docusign API to enable you to integrate Docusign functionality into your own applications." />
26-
<meta property="og:title" content="MySure Docusign Sample Application" />
27-
<meta property="og:description" content="See how the MySure Docusign sample application for insurance showcases the capabilities of the Docusign API to enable you to integrate Docusign functionality into your own applications." />
28-
<meta property="og:image" content="%PUBLIC_URL%/MySure_OG.png" />
24+
<meta name="twitter:title" content="Insurance Sample App" />
25+
<meta name="twitter:description" content="See how the Docusign sample application for insurance showcases the capabilities of the Docusign API to enable you to integrate Docusign functionality into your own applications." />
26+
<meta property="og:title" content="Insurance Sample App" />
27+
<meta property="og:description" content="See how the Docusign sample application for insurance showcases the capabilities of the Docusign API to enable you to integrate Docusign functionality into your own applications." />
28+
<meta property="og:image" content="%PUBLIC_URL%/Insurance-Sample-App-OG-Image.jpg" />
2929
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
3030
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Noto+Serif&display=swap" rel="stylesheet">
3131

public/locales/en/About.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"Title": "MySure Docusign Sample Application for Insurance",
2+
"Title": "Docusign Sample Application for Insurance",
33
"Description": "A sample insurance application that demonstrates some common Docusign API workflows including Docusign eSignature, Docusign Click, Docusign Payments, and real-time status.",
44
"SourceButton": "Source on GitHub",
5-
"GitHubLink": " https://github.com/docusign/MySureSampleApp/",
6-
"SandboxText": "<h4>Get started with the Docusign API today</h4>",
5+
"GitHubLink": "https://github.com/docusign/sample-app-insurance-python",
6+
"SandboxText": "<h4>Get started with the Docusign APIs today</h4>",
77
"SandboxButton": "Create Developer Account",
88
"Description2": "<p><br></br>With a developer developer account, you can test our APIs for free! Developer accounts do not expire and have Enterprise-level features enabled.</p>",
9-
"Features": "<h3>MySure features:</h3><ul><li>Send document for signature</li><li>Send from template</li><li>Embedded signing</li><li>Forms and form-field data</li><li>Real-time status</li><li>Custom branding</li><li>Document visibility</li><li>Signer attachment tabs</li><li>Calculated (formula) fields</li><li>Downloadable documents and audit trails</li></ul>",
9+
"Features": "<h3>Insurance Sample App features:</h3><ul><li>Send document for signature</li><li>Send from template</li><li>Embedded signing</li><li>Forms and form-field data</li><li>Real-time status</li><li>Custom branding</li><li>Document visibility</li><li>Signer attachment tabs</li><li>Calculated (formula) fields</li><li>Downloadable documents and audit trails</li></ul>",
1010
"ToolsandLinks": "API Tools and Links",
1111
"DeveloperCenter": "Developer Center",
1212
"DeveloperCenterLink": "https://developers.docusign.com",

public/locales/en/Common.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"ApplicationName": "MySure",
2+
"ApplicationName": "Insurance Sample App",
33
"TransactionHistoryLink": "Status",
44
"GitHubLink": "GitHub Source",
55
"AboutLink": "About",
6-
"Copyright": "© 2024 Docusign Inc.",
6+
"Copyright": "© 2025 Docusign Inc.",
77
"LogOutLink": "Log out",
88
"LogInButton": "Log in",
99
"AlertMessage": "Sorry, there was some issue with the Code Grant Authorization, so you have been logged with JWT authorization"

public/locales/en/History.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
"Header3": "Last updated",
66
"OptionsButton": "Options",
77
"SubmissionsStatus": "Submission status",
8-
"HTMLOptionButton": "Download MySure.pdf",
8+
"HTMLOptionButton": "Download Insurance Sample App.pdf",
99
"SummaryOptionButton": "Download Summary",
1010
"CombinedOptionButton": "Download combined PDF",
11-
"EmptyListMessage": " Create some MySure transactions and they will start showing up here.",
11+
"EmptyListMessage": " Create some Insurance Sample App transactions and they will start showing up here.",
1212
"ApiDecription": {
1313
"SeeMore": "- See behind the scenes",
1414
"CodeFlow": "<p>View source file <a href='https://github.com/docusign/sample-app-mysure-python/blob/master/app/envelope.py#L68-L108' target='blank' rel='norefferer noopener'>envelopes.py</a> on GitHub.</p><h3>This sample features:</h3><ul><li>List envelope status changes</li><li>Download envelope documents</li></ul><h3>Code flow:</h3><h5>Step 1</h5><p>When the status page loads, we use the <a href='https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/envelopes/liststatuschanges/' target='blank' rel='noopener noreferrer'>Envelopes: listStatusChanges</a> method to retrieve the statuses of envelopes in the authenticated user’s account, filtering by the current day's date with the <code>from_date</code> query parameter. Additionally, we use the <code>include</code> query parameter to retrieve recipient information for each envelope. We then cross-reference these envelopes with the envelope IDs saved in the app’s session and display only those sent by the currently authenticated user using the app.</p><p>To list envelope status changes, we send an API request to:</p><pre>POST /restapi/v2.1/accounts/{accountId}/envelopes?from_date={date}&include='recipients'</pre><h5>Step 2</h5><p>To download envelope documents, we send an API request to: <pre>GET /restapi/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}</pre></p>"

public/locales/en/Home.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"Header1": "Welcome to MySure",
2+
"Header1": "Welcome to the Insure Sample App",
33
"Header2": "Self-Service Insurance Portal",
44
"Footer1": "Docusign: It's time to agree better",
55
"Footer2": "<p>Docusign helps organizations connect and automate how they prepare, sign, act on, and manage agreements.</p>",

src/components/Footer.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ export const Footer = () => {
66
return (
77
<footer role="contentinfo" className="footer bg-white pt-4 pb-4">
88
<div className="container">
9-
<span className="copyright">{t("Copyright")}</span>
109
</div>
1110
</footer>
1211
);

src/components/Header.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const Header = () => {
4545
<li className="nav-item">
4646
<a
4747
className="nav-link"
48-
href="https://github.com/docusign/sample-app-mysure-python"
48+
href="https://github.com/docusign/sample-app-insurance-python"
4949
target="_blank"
5050
rel="noopener noreferrer"
5151
>

0 commit comments

Comments
 (0)