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
93
0
Share
Building A SMS Sender Microservice
Using Ringcentral api and express build an SMS sender microservice
Mofizur Rahman
February 14, 2020
More Decks by Mofizur Rahman
See All by Mofizur Rahman
Running Batch Workload on K8s at Scale
moficodes
0
65
Managing Kubernetes with Istio
moficodes
0
75
Kubernetes Security Jumpstart
moficodes
0
89
Managing Kubernetes with Istio
moficodes
0
47
KNative: Serverless computing on Kubernetes
moficodes
1
53
Kubernete Second Week
moficodes
0
47
Managing Kubernetes with Istio
moficodes
0
44
Manage Kuberentes Deployment with Istio
moficodes
0
50
The What, Why and How of Knative on Kubernetes
moficodes
0
59
Other Decks in Technology
See All in Technology
色を視る
yuzneri
0
240
巨大プラットフォームを進化させる「第3のROI」
recruitengineers
PRO
2
1.5k
生成AI時代のドキュメントに対する期待の整理と実践から得た学び / Rethinking Documentation for LLM: Lessons from Practice
bitkey
PRO
1
110
No Types Needed, Just Callable Method Check
dak2
1
2.3k
M5Stack CoreS3とZephyr(RTOS)で Edge AIっぽいことしてみた
iotengineer22
0
380
FessのAI検索モード:検索システムとLLMへの取り組み
marevol
0
110
データを"持てない"環境でのアノテーション基盤設計
sansantech
PRO
1
160
AWS Transform CustomでIaCコードを自由自在に変換しよう
duelist2020jp
0
190
Choose your own adventure in agentic design patterns
glaforge
0
160
Expiration of Secure Boot Certificates for vSphere Virtual Machines
mirie_sd
0
120
Standards et agents IA : un tour d’horizon de MCP, A2A, ADK et plus encore
glaforge
0
210
CloudTrail を見つめ直してみる
kazzpapa3
1
120
Featured
See All Featured
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
64
54k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.3k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
23k
RailsConf 2023
tenderlove
30
1.4k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
190
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Building Flexible Design Systems
yeseniaperezcruz
330
40k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.7k
HDC tutorial
michielstock
2
640
New Earth Scene 8
popppiees
3
2.1k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
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