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
90
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
56
Managing Kubernetes with Istio
moficodes
0
70
Kubernetes Security Jumpstart
moficodes
0
85
Managing Kubernetes with Istio
moficodes
0
44
KNative: Serverless computing on Kubernetes
moficodes
1
47
Kubernete Second Week
moficodes
0
43
Managing Kubernetes with Istio
moficodes
0
38
Manage Kuberentes Deployment with Istio
moficodes
0
45
The What, Why and How of Knative on Kubernetes
moficodes
0
51
Other Decks in Technology
See All in Technology
おやつは300円まで!の最適化を模索してみた
techtekt
PRO
0
290
会社紹介資料 / Sansan Company Profile
sansan33
PRO
6
380k
Codeful Serverless / 一人運用でもやり抜く力
_kensh
7
360
データアナリストからアナリティクスエンジニアになった話
hiyokko_data
2
430
Autonomous Database - Dedicated 技術詳細 / adb-d_technical_detail_jp
oracle4engineer
PRO
4
10k
なぜテストマネージャの視点が 必要なのか? 〜 一歩先へ進むために 〜
moritamasami
0
200
2025年になってもまだMySQLが好き
yoku0825
8
4.4k
Rustから学ぶ 非同期処理の仕組み
skanehira
1
110
S3アクセス制御の設計ポイント
tommy0124
2
150
人工衛星のファームウェアをRustで書く理由
koba789
8
5k
COVESA VSSによる車両データモデルの標準化とAWS IoT FleetWiseの活用
osawa
1
240
未経験者・初心者に贈る!40分でわかるAndroidアプリ開発の今と大事なポイント
operando
3
200
Featured
See All Featured
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.7k
Making Projects Easy
brettharned
117
6.4k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Music & Morning Musume
bryan
46
6.8k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
53k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.6k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
910
Embracing the Ebb and Flow
colly
87
4.8k
Automating Front-end Workflow
addyosmani
1370
200k
Being A Developer After 40
akosma
90
590k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
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