Skip to content

Range backend support for "contact us" and SMS messaging

Notifications You must be signed in to change notification settings

CaravanStudios/range-server

Repository files navigation

Range server

Range server side functionality supporting Twilio and SendGrid features.

Configuration

Create the appropiate configuration JSON file depending on your NODE_ENV and override default values in config/default.json.

REST

GET /sms/reply: Twilio will send this message if a user reply to a text message received from Range

POST /share/sms: Send a text massage share from Range

Request body:

{
    "To": "+1234567890",
    "Body": "Text message content"
}

POST /share/mail: Send an email share from Range

Request body:

{
    "to": "[email protected]",
    "html": "HTML message content"
}

POST /contactus: Send contact us email

Request body:

{
    "from": "[email protected]",
    "subject": "Feedback",
    "text": "Contact us message content"
}

GET /popup: Get popup message content from server

About

Range backend support for "contact us" and SMS messaging

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •