Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

TwilioDevEd/server-notifications-spring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Server Notifications on Spring

Build Status

Notification on phone

Use Twilio to create SMS server alerts so that you never miss a critical server issue.

Local Development

  1. First clone this repository and cd into it:

    git clone git@github.com:TwilioDevEd/server-notifications-spring.git
    cd server-notifications-spring
    
  2. Export the environment variables:

    You can find the AccountSID and the AuthToken at https://www.twilio.com/user/account/settings.

    export TWILIO_ACCOUNT_SID=your account sid
    export TWILIO_AUTH_TOKEN=your auth token
    

    The Twilio Phone Number can be found at https://www.twilio.com/user/account/phone-numbers/incoming.

    export TWILIO_PHONE_NUMBER=your Twilio phone number
    
  3. Make sure the tests succeed:

    mvn compile test
    
  4. Run the application.

    mvn compile exec:java -Dexec.mainClass=com.twilio.notifications.WebServer
    
  5. Check it out at http://localhost:8080

About

Implement server-side SMS notifications in a Java Spring web application

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published