Skip to content
This repository was archived by the owner on Aug 20, 2020. It is now read-only.

Commit ffdeeec

Browse files
committed
2 parents eb97426 + 9e40b55 commit ffdeeec

File tree

3 files changed

+52
-2
lines changed

3 files changed

+52
-2
lines changed

.github/PULL_REQUEST_TEMPLATE

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<!--
2+
Please explain WHAT you changed and WHY.
3+
4+
The title should be descriptive, for example:
5+
6+
* *Fixed a typo in the apikeypermissions.md page*
7+
* *Added the maximum number of domain whitelabels you can create to domains.md*
8+
* *Fixing the number of days a batch id is valid in scheduling_parameters.md*
9+
10+
If this PR fixes an issue, please reference the issue number as well.
11+
12+
Fill out this form in the body:
13+
-->
14+
15+
**Description of the change**:
16+
17+
**Reason for the change**:
18+
19+
**Link to original source**:
20+
21+
### Checklist
22+
23+
Make sure all of these items are complete, or else the PR will be ineligible for a code review.
24+
25+
- [ ] Code passes all existing [tests](https://github.com/sendgrid/nodejs-http-client/tree/master/test)
26+
- [ ] Any new functionality added includes new unit tests in [`test/test.js`](https://github.com/sendgrid/nodejs-http-client/tree/master/test/test.js)
27+
- [ ] Create or update example code to show the new functionality in action.
28+
- [ ] All code, branch, and git naming and style conventions are followed (see [`CONTRIBUTING.md`](https://github.com/sendgrid/nodejs-http-client/blob/master/CONTRIBUTING.md#style-guidelines--naming-conventions))
29+
- [ ] Feature branch has been rebased off of the latest `master` branch. ( see [`CONTRIBUTING.md`](https://github.com/sendgrid/nodejs-http-client/blob/master/CONTRIBUTING.md#creating-a-pull-request) ).
30+
31+
If you have questions, please send an email [Sendgrid](mailto:[email protected]), or file a Github Issue in this repository.

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ echo "sendgrid.env" >> .gitignore
9696
source ./sendgrid.env
9797
```
9898

99-
You cand use the ```.env_example``` file located at "examples" folder. Just copy it to a ```.env``` folder ou can put on your project's root.
99+
You can use the ```.env_example``` file located at "examples" folder. Just copy it to a ```.env``` folder ou can put on your project's root.
100100

101101
Here is the [full working code](https://github.com/sendgrid/nodejs-http-client/blob/master/examples/example.js).
102102

@@ -105,6 +105,8 @@ To run the example:
105105
```bash
106106
node examples/example
107107
```
108+
=======
109+
[Library Usage Documentation](https://github.com/sendgrid/nodejs-http-client/blob/master/USAGE.md)
108110

109111
<a name="roadmap"></a>
110112
# Roadmap
@@ -129,4 +131,4 @@ nodejs-http-client is maintained and funded by SendGrid, Inc. The names and logo
129131

130132
<a name="license"></a>
131133
# License
132-
[The MIT License (MIT)](LICENSE.txt)
134+
[The MIT License (MIT)](LICENSE.txt)

USAGE.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Following is an example using SendGrid. You can get your free account [here](https://sendgrid.com/free?source=nodejs-http-client).
2+
3+
First, update your environment with your [SENDGRID_API_KEY](https://app.sendgrid.com/settings/api_keys).
4+
5+
```bash
6+
echo "export SENDGRID_API_KEY='YOUR_API_KEY'" > sendgrid.env
7+
echo "sendgrid.env" >> .gitignore
8+
source ./sendgrid.env
9+
```
10+
11+
Here is the [full working code](https://github.com/sendgrid/nodejs-http-client/blob/master/examples/example.js).
12+
13+
To run the example:
14+
15+
```bash
16+
node examples/example
17+
```

0 commit comments

Comments
 (0)