Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Building A SMS Sender Microservice
Search
Mofizur Rahman
February 14, 2020
Technology
0
73
Building A SMS Sender Microservice
Using Ringcentral api and express build an SMS sender microservice
Mofizur Rahman
February 14, 2020
Tweet
Share
More Decks by Mofizur Rahman
See All by Mofizur Rahman
Running Batch Workload on K8s at Scale
moficodes
0
48
Managing Kubernetes with Istio
moficodes
0
48
Kubernetes Security Jumpstart
moficodes
0
77
Managing Kubernetes with Istio
moficodes
0
37
KNative: Serverless computing on Kubernetes
moficodes
1
43
Kubernete Second Week
moficodes
0
38
Managing Kubernetes with Istio
moficodes
0
25
Manage Kuberentes Deployment with Istio
moficodes
0
40
The What, Why and How of Knative on Kubernetes
moficodes
0
44
Other Decks in Technology
See All in Technology
少数チームで挑む: SwiftUI, TCA, KMPを用いた 新規動画配信アプリ 「ABEMA Live」の開発について
tomu28
0
550
なぜ NOT A HOTEL が Web3 に取り組むのか - NOT A HOTEL TECH TALK
ynunokawa
0
160
Cloud Native Java with Spring Boot (CNCF Aarhus, April 2024)
thomasvitale
1
130
社内勉強会運営のコツ
senoo
6
1.2k
Databricks:『生成AI World Cup』のご案内
databricksjapan
2
150
アクセシビリティを考慮したUI/CSSフレームワーク・ライブラリ選定
yajihum
2
290
検証を通して見えてきたTiDBの性能特性
lycorptech_jp
PRO
6
3.4k
Data and AI Governance: Existing Challenges and Emerging Trends
scotthsieh825
0
160
DevOpsメトリクスとアウトカムの接続にトライ!開発プロセスを通して計測できるメトリクスの活用方法
ham0215
2
200
WebアプリケーションにおけるPDOの使い方入門 / phpcon odawara 2024
meihei3
2
430
2024/4/26 コンピュータ歴史博物館解説告知
toshi_atsumi
0
200
o11y入門_外形監視を利用したWebアプリケーションへの最適なモニタリング_TechBrew
k5k
3
100
Featured
See All Featured
Debugging Ruby Performance
tmm1
70
11k
Designing Experiences People Love
moore
136
23k
Practical Orchestrator
shlominoach
181
9.7k
Optimizing for Happiness
mojombo
370
69k
BBQ
matthewcrist
80
8.7k
How to train your dragon (web standard)
notwaldorf
72
5.1k
Imperfection Machines: The Place of Print at Facebook
scottboms
258
12k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
29
6k
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
18
6.9k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
24
2.3k
What's in a price? How to price your products and services
michaelherold
237
11k
Transcript
Building A SMS Sender Microservice
@moficodes Why send SMS Offline communication Password Reset Customer Engagement
Confirmations
@moficodes SMS Platforms Twilio Ringcentral Nexmo
@moficodes Architecture User make post request to /?to=<recipient>&messag e=<messagecontent> Express
server handles the request and calls ringcentral api Handles the request and tries to send a message to the recipient Message is recieved
@moficodes Code The code for this is available at https://github.com/moficodes/message-microservice
@moficodes Step 1 Create a free developer account at developer.ringcentral.com
@moficodes Step 2 Go to console
@moficodes Step 3 Click on create app Give a name
Give a description Click next
@moficodes Step 4 For Application type Select Private For Platform
Type Select Server-only Click Next
@moficodes Step 5 Add permission for SMS Click Create
@moficodes Step 6 Take note of your credential
@moficodes Step 7 Copy the credential and create config.json in
the project { "CLIENT_ID": "<ENTER CLIENT ID>", "CLIENT_SECRET": "<ENTER CLIENT SECRET>", "ACCOUNT_ID": "<YOUR ACCOUNT PHONE NUMBER>", "ACCOUNT_PASSWORD": "<YOUR ACCOUNT PASSWORD>", "RINGCENTRAL_SERVER": "https://platform.devtest.ringcentral.com", "RINGCENTRAL_EXTENSION": "<YOUR EXTENSION, PROBABLY "101">" }
@moficodes Step 8 Install dependencies npm install Run the app
npm start
@moficodes Step 9 Make a post request to localhost:9001 with
param to and message I like postman for tests like this
@moficodes Step 10 Success
@moficodes Improvements Work with message queue Run it as a
serverless funciton
@moficodes Thank You