Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Building A SMS Sender Microservice

Building A SMS Sender Microservice

Using Ringcentral api and express build an SMS sender microservice

Avatar for Mofizur Rahman

Mofizur Rahman

February 14, 2020
Tweet

More Decks by Mofizur Rahman

Other Decks in Technology

Transcript

  1. @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
  2. @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">" }
  3. @moficodes Step 9 Make a post request to localhost:9001 with

    param to and message I like postman for tests like this