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
エラーとアクセシビリティ
schktjm
1
1.3k
Automating Web Accessibility Testing with AI Agents
maminami373
0
1.3k
react-callを使ってダイヤログをいろんなとこで再利用しよう!
shinaps
1
240
TS-S205_昨年対比2倍以上の機能追加を実現するデータ基盤プロジェクトでのAI活用について
kaz3284
1
170
LLMを搭載したプロダクトの品質保証の模索と学び
qa
0
1.1k
Agile PBL at New Grads Trainings
kawaguti
PRO
1
430
人工衛星のファームウェアをRustで書く理由
koba789
15
7.9k
新アイテムをどう使っていくか?みんなであーだこーだ言ってみよう / 20250911-rpi-jam-tokyo
akkiesoft
0
280
Webアプリケーションにオブザーバビリティを実装するRust入門ガイド
nwiizo
7
830
Modern Linux
oracle4engineer
PRO
0
100
roppongirb_20250911
igaiga
1
240
💡Ruby 川辺で灯すPicoRubyからの光
bash0c7
0
120
Featured
See All Featured
Automating Front-end Workflow
addyosmani
1370
200k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
6k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.1k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3k
Making Projects Easy
brettharned
117
6.4k
Navigating Team Friction
lara
189
15k
Site-Speed That Sticks
csswizardry
10
820
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.9k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
Art, The Web, and Tiny UX
lynnandtonic
303
21k
The Pragmatic Product Professional
lauravandoore
36
6.9k
Documentation Writing (for coders)
carmenintech
74
5k
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