-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DEVEXP-563: Add SMS 'Getting Started' code (#4)
- Loading branch information
1 parent
7e4ba94
commit 87e6e88
Showing
11 changed files
with
996 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ on: | |
- main | ||
|
||
jobs: | ||
lint-and-test: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
14 changes: 14 additions & 0 deletions
14
getting-started/sms/respond-to-incoming-message/server/.env
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Express related configuration | ||
port = 3001 | ||
|
||
# Unified related credentials, used by: | ||
# - SMS: US/EU are the only supported regions with unified credentials | ||
SINCH_PROJECT_ID = <Your Sinch Project ID> | ||
SINCH_KEY_ID = <Your Sinch Key ID> | ||
SINCH_KEY_SECRET = <Your Sinch Key Secret> | ||
SMS_REGION = us | ||
|
||
# SMS Service Plan ID related credentials | ||
# if set, these credentials will be used and enable to use regions different of US/EU | ||
#SINCH_SERVICE_PLAN_ID = <Your Service Plan ID> | ||
#SINCH_API_TOKEN = <Your Service Plan Token> |
5 changes: 5 additions & 0 deletions
5
getting-started/sms/respond-to-incoming-message/server/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Sinch Getting started | ||
|
||
Code is related to [Receive an SMS Message with Node.js](https://developers.sinch.com/docs/sms/getting-started/node-sdk/handle-incoming/). | ||
|
||
See [Server template README](https://github.com/sinch/sinch-sdk-node-quickstart/blob/main/templates/server/README.md) for details about configuration and usage. |
Oops, something went wrong.