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
93
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
58
Managing Kubernetes with Istio
moficodes
0
71
Kubernetes Security Jumpstart
moficodes
0
86
Managing Kubernetes with Istio
moficodes
0
45
KNative: Serverless computing on Kubernetes
moficodes
1
51
Kubernete Second Week
moficodes
0
45
Managing Kubernetes with Istio
moficodes
0
43
Manage Kuberentes Deployment with Istio
moficodes
0
47
The What, Why and How of Knative on Kubernetes
moficodes
0
52
Other Decks in Technology
See All in Technology
Data Hubグループ 紹介資料
sansan33
PRO
0
2.7k
Bill One急成長の舞台裏 開発組織が直面した失敗と教訓
sansantech
PRO
2
380
SREチームをどう作り、どう育てるか ― Findy横断SREのマネジメント
rvirus0817
0
290
学生・新卒・ジュニアから目指すSRE
hiroyaonoe
2
630
15 years with Rails and DDD (AI Edition)
andrzejkrzywda
0
200
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1k
Bill One 開発エンジニア 紹介資料
sansan33
PRO
5
17k
顧客の言葉を、そのまま信じない勇気
yamatai1212
1
360
Kiro IDEのドキュメントを全部読んだので地味だけどちょっと嬉しい機能を紹介する
khmoryz
0
200
クレジットカード決済基盤を支えるSRE - 厳格な監査とSRE運用の両立 (SRE Kaigi 2026)
capytan
6
2.8k
制約が導く迷わない設計 〜 信頼性と運用性を両立するマイナンバー管理システムの実践 〜
bwkw
3
940
M&A 後の統合をどう進めるか ─ ナレッジワーク × Poetics が実践した組織とシステムの融合
kworkdev
PRO
1
460
Featured
See All Featured
Accessibility Awareness
sabderemane
0
52
Java REST API Framework Comparison - PWX 2021
mraible
34
9.1k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
1
100
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
82
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
1
130
Claude Code のすすめ
schroneko
67
210k
エンジニアに許された特別な時間の終わり
watany
106
230k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
62
50k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.2k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
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