Skip to content

Commit

Permalink
DEVEXP-563: Add SMS 'Getting Started' code (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
asein-sinch authored Sep 24, 2024
1 parent 7e4ba94 commit 87e6e88
Show file tree
Hide file tree
Showing 11 changed files with 996 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/ci.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- main

jobs:
lint-and-test:
build:
runs-on: ubuntu-latest

steps:
Expand Down
14 changes: 14 additions & 0 deletions getting-started/sms/respond-to-incoming-message/server/.env
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>
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.
Loading

0 comments on commit 87e6e88

Please sign in to comment.