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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
60
Managing Kubernetes with Istio
moficodes
0
72
Kubernetes Security Jumpstart
moficodes
0
88
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
LLM活用の壁を超える:リクルートR&Dの戦略と打ち手
recruitengineers
PRO
1
250
チームメンバー迷わないIaC設計
hayama17
5
3.9k
OCI Security サービス 概要
oracle4engineer
PRO
2
13k
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
72k
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
14k
クラウド時代における一時権限取得
krrrr38
1
170
Claude Codeが爆速進化してプラグイン追従がつらいので半自動化した話 ver.2
rfdnxbro
0
300
タスク管理も1on1も、もう「管理」じゃない ― KiroとBedrock AgentCoreで変わった"判断の仕事"
yusukeshimizu
0
430
問い合わせ自動化の技術的挑戦
recruitengineers
PRO
2
150
us-east-1 に障害が起きた時に、 ap-northeast-1 にどんな影響があるか 説明できるようになろう!
miu_crescent
PRO
6
3k
Claude Codeの進化と各機能の活かし方
oikon48
13
5.8k
20260305_【白金鉱業】分析者が地理情報を武器にするための軽量なアドホック分析環境
yucho147
1
180
Featured
See All Featured
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
380
WENDY [Excerpt]
tessaabrams
9
36k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
230
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
280
The Mindset for Success: Future Career Progression
greggifford
PRO
0
270
Thoughts on Productivity
jonyablonski
75
5.1k
Test your architecture with Archunit
thirion
1
2.2k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.8k
Discover your Explorer Soul
emna__ayadi
2
1.1k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
99
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
170
Technical Leadership for Architectural Decision Making
baasie
3
270
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