Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEVEXP-563: Add SMS 'Getting Started' code #4

Merged
merged 7 commits into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment as fro server template: is us is not yet the default value ?


# 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
Loading