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
39
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
スタートアップにおけるこれからの「データ整備」
shomaekawa
2
480
ガバメントクラウドの概要と自治体事例(名古屋市)
techniczna
3
240
フレームワークを意識させないワークショップづくり
keigosuda
0
190
能登半島地震において デジタルができたこと・できなかったこと
ditccsugii
0
200
ビズリーチ求職者検索におけるPLMとLLMの活用 / Search Engineering MEET UP_2-1
visional_engineering_and_design
1
130
オープンソースでどこまでできる?フォーマル検証チャレンジ
msyksphinz
0
140
衛星画像超解像化によって実現する2D, 3D空間情報の即時生成と“AI as a Service”/ Real-time generation spatial data enabled_by satellite image super-resolution
lehupa
0
170
RDS の負荷が高い場合に AWS で取りうる具体策 N 連発/a-series-of-specific-countermeasures-available-on-aws-when-rds-is-under-high-load
emiki
1
300
BI ツールはもういらない?Amazon RedShift & MCP Server で試みる新しいデータ分析アプローチ
cdataj
0
160
incident_commander_demaecan__1_.pdf
demaecan
0
140
Data Hubグループ 紹介資料
sansan33
PRO
0
2.2k
リセラー企業のテクサポ担当が考える、生成 AI 時代のトラブルシュート 2025
kazzpapa3
1
340
Featured
See All Featured
Done Done
chrislema
185
16k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
BBQ
matthewcrist
89
9.8k
Being A Developer After 40
akosma
91
590k
Optimising Largest Contentful Paint
csswizardry
37
3.5k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.7k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.7k
Visualization
eitanlees
149
16k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
15k
Context Engineering - Making Every Token Count
addyosmani
6
250
Code Reviewing Like a Champion
maltzj
526
40k
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