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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
AIエージェントを開発しよう!-AgentCore活用の勘所-
yukiogawa
0
170
日本の85%が使う公共SaaSは、どう育ったのか
taketakekaho
1
220
外部キー制約の知っておいて欲しいこと - RDBMSを正しく使うために必要なこと / FOREIGN KEY Night
soudai
PRO
12
5.5k
コスト削減から「セキュリティと利便性」を担うプラットフォームへ
sansantech
PRO
3
1.5k
Oracle Cloud Observability and Management Platform - OCI 運用監視サービス概要 -
oracle4engineer
PRO
2
14k
Introduction to Bill One Development Engineer
sansan33
PRO
0
360
ZOZOにおけるAI活用の現在 ~開発組織全体での取り組みと試行錯誤~
zozotech
PRO
5
5.7k
レガシー共有バッチ基盤への挑戦 - SREドリブンなリアーキテクチャリングの取り組み
tatsukoni
0
220
We Built for Predictability; The Workloads Didn’t Care
stahnma
0
140
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
5
1.6k
今日から始めるAmazon Bedrock AgentCore
har1101
4
410
学生・新卒・ジュニアから目指すSRE
hiroyaonoe
2
630
Featured
See All Featured
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
190
Skip the Path - Find Your Career Trail
mkilby
0
57
So, you think you're a good person
axbom
PRO
2
1.9k
HDC tutorial
michielstock
1
380
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
61
52k
Raft: Consensus for Rubyists
vanstee
141
7.3k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
1.9k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
310
The SEO Collaboration Effect
kristinabergwall1
0
350
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
160
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
280
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